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
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
F12orCtrl + 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.
- Windows / Linux: press
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:
- Read the Console
- Keep errors when the page reloads
- Read the Network panel
- Look inside one request
- Check the phone view
- Recap