Skip to the workspace
Pebellslearn by building
Collaboration  ›  Lesson

Browsers and DevTools

Browsers / DevTools 13 minBrowser DevTools show the page's errors in the Console and every request's status, response and timing in Network, so you can tell whether a bug is in the page, the request or the server before asking for a fix.

ai product builder / Browsers and DevTools

Explore each scene at your own pace.

01 · The rule

The rule

Browsers and DevTools

"The Suggest button just spins forever." Asha used to paste that sentence into her assistant and wait. Now she opens the browser's developer tools first. In under a minute they tell her whether the problem is in the page, in the request, or on the server.

The rule

Console for errors, Network for requests — read both before asking for a fix.

Every major browser has built-in DevTools; right-click the page and choose Inspect to open them. Three panels cover most needs:

  • Elements — the live HTML and CSS. Click any element to see which rules apply to it and why it looks the way it does.
  • Console — error messages from the page's JavaScript, shown in red, often with a file name and line number.
  • Network — every request the page makes, with its status code, its response and how long it took.

The status code tells you where to look:

Code What it means
2xx, such as 200 It worked
4xx, such as 400, 401, 404, 429 The server refused the request: bad input, not allowed, not found, or too many requests
5xx, such as 500, 503 The server failed while handling the request

DevTools also has a device toolbar that previews the page at phone sizes, the quickest way to reproduce "it's broken on my phone".

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.