How to use browser DevTools as a beginner
Every major browser includes developer tools, and learning them will speed up your web development more than almost any other skill. Open them with F12 or right-click and choose "Inspect."
Elements (or Inspector) panel:
- See the live HTML of the page and the CSS applied to each element.
- Edit styles on the fly to experiment, such as changing a colour or margin and seeing the result instantly. Changes disappear on reload, so copy them back into your code.
- See the box model: content, padding, border and margin.
Console:
- Shows JavaScript errors and warnings with the file and line number.
- Displays your
console.log()output. - Lets you run small snippets of JavaScript on the current page.
Network panel:
- Lists every file and request the page makes, with status codes, sizes and timing.
- Useful for finding failed requests (404, 500), slow loading files and API responses.
Device toolbar:
- Simulates phone and tablet screen sizes to test responsive design.
Other useful panels:
- Sources/Debugger: set breakpoints to pause JavaScript and inspect variables.
- Application/Storage: view cookies and local storage.
- Lighthouse or performance tools: audit speed and accessibility.
Beginner exercise: open a website you like, inspect its header, and figure out how it's laid out.
Which DevTools feature do you use most? What feature did you wish you'd discovered earlier?
Comments · 2
Network tab is where the real learning happens. You can see what's being loaded, how big it is, and what's slow. It's a good habit for every beginner.
Hover over elements in the Elements panel and tweak CSS live. Experimenting there is a lot faster than editing files and refreshing.