Get your API key

Lesson 2 of 5

Browser DevTools: Console and Network

Open DevTools, read red errors, keep logs across reloads, and read status codes and responses in the Network panel.

9 min Log in to open
One step at a time, like flipping pages.

By the end of this lesson you will open Chrome's DevTools, read the errors in the Console, and find the failed request and its status code in the Network panel.

You need: Chrome (or Edge, which has the same DevTools) and any web app you are building · Time: 9 minutes

  1. DevTools (developer tools) is a hidden toolbox inside your browser. It shows what the page does behind the screen: errors, requests to servers, files. Every web developer lives in it, and you only need two of its panels.

    Open it on the page that has the problem:

    • Windows / Linux: press F12 or Ctrl + Shift + I.
    • Mac: press Cmd + Option + I.
    • Any system: right-click anywhere on the page and choose Inspect.

    DevTools opens next to or under the page. Across the top you see tabs called panels: Elements, Console, Sources, Network and more. If you can't see one, click >> to show the hidden ones.

    Do it now

    Do it now

    Why?

    Many bugs never show on the page. The button "does nothing", but behind the screen there is a red error that says exactly why. DevTools is where you read it.

Log in free to read the rest of this lesson

Every lesson is free. A free account unlocks all of them and saves your progress.

Still to come in this lesson:

  1. Read the Console
  2. Keep errors when the page reloads
  3. Read the Network panel
  4. Look inside one request
  5. Check the phone view
  6. Recap