Understand the idea
Developer tools are most useful when you bring a question. “Which rule wins?”, “Which line failed?” and “What file arrived?” belong to different views.
The Elements or Inspector view shows the current document and styles. Console reports messages and script errors. Network records requests observed while the tool is recording. Open it before reproducing the failure so the relevant request can be captured.
Read the example
A diagnostic checklist. Tool names and panel layouts vary between browsers and versions.
Symptom: image missing
Network: exact requested URL, status, content type, response
Elements: actual src and resulting layout
Console: related resource or policy error
Next action: compare the evidence with the intended fileBegin with a reproducible symptom
- Write down the page address and the action that fails.
- Open the relevant panel and reproduce that action.
- Record the exact message, requested URL or winning declaration.
- Form one hypothesis and change one relevant thing.
- Repeat the same action and check both the symptom and the evidence.
Read the first useful error
One missing script can cause several later failures. Start with the earliest relevant failure rather than fixing every downstream message separately. Source locations help you find the affected line, but a line number alone does not explain why it failed.
Inspect safely
You do not need to paste unknown commands into Console to follow these lessons. Request logs may include tokens, cookies, submitted values or private addresses. Review and remove sensitive information before sharing evidence. These practice trails use fictional logs so no export is needed.
Use the tools as a bridge
A visual experiment in Styles can support a hypothesis. Network can establish which stylesheet was received. Combine them to distinguish a delivery problem from a cascade problem.
Start a guided debugging case.
Continue the diagnostic toolkit
All six lessons and three cases
A small mistake, explained
What goes wrong
You change a value in the Inspector and expect that edit to remain in the project after a reload.
How to fix it. Treat temporary tool edits as experiments unless you deliberately configured a saving workflow. Apply the confirmed repair to the project source, rebuild and retest.
Try it yourself
Open a page you own, select one visible element and identify its active colour rule. Then locate its stylesheet request. Explain how those two pieces of evidence connect.
Further reading
Chrome DevTools: Overview (new tab)
Keep exploring
- Debugging · Guide
One missing tag, a different pageCompare your source with the document the browser repaired.
- Debugging · Guide
Why is my CSS not working?Separate a loading problem from a matching or cascade problem.