Skip to article content
FrontendXLesson 15 / 20

DevTools: Elements and Network

Build an accurate mental model of what the browser does, from navigation and HTTP through parsing, rendering, storage, workers, security, and DevTools, so you can predict behavior and debug real pages.

beginner · about 35 minutes · 2 exercises

  • Predict
  • Explain

What you will be able to do

#
  • Inspect live DOM, styles, and computed values.
  • Read a network waterfall and identify slow phases.
  • Use throttling and initiators to find hidden work.

Overview

#

The Elements and Network panels answer what the page is and what it loaded.

Elements

Inspect the live DOM, not the source HTML. The Styles pane shows matching rules in cascade order with the winning declaration. The Computed pane shows final computed values and the box model. Force states with :hover, :focus, and :active to debug interactive styles.

Network

The waterfall shows DNS, connection, TLS, waiting (TTFB), and content download per request. Sort by size or time to find heavy resources. Throttle to Slow 3G to see what a slow network does. The Initiator column shows what caused a request, which is essential for finding hidden fetches.

Filters and headers

Filter by type or by status. Open a request to see request and response headers, payload, timing, and preview. Check Content-Encoding and Content-Length to confirm compression.

Questions to carry forward

  • Which waterfall phase is server time?
  • How do you find a request you did not expect?
  • Why does throttling change what you optimize?

Exercises

#

Reference answers and expected output are authored, not executed in this browser. Nothing you type is run, and there is no Run or Pass control on this page.

  1. Exercise 1Predict

    A request shows a long Waiting (TTFB) bar but a short Content Download bar. Where is the time going?

    Choose the best answer
  2. Exercise 2Explain

    Explain how the Initiator column helps you find a performance regression.

    Reveal the reference answer
    reference.text
    It shows the script, resource, or parser action that triggered a request. If an unexpected request appears, the initiator points to the code or dependency that caused it, so you can remove or defer it.

    Authored expected output: An answer linking initiators to locating unexpected requests.

    Without initiators, you see that a request exists but not why. The initiator connects the request back to its cause.

Common misconceptions

#
  • The Elements panel shows the original HTML source.
  • The waterfall only shows total time, not phases.
  • The initiator column is cosmetic.

Follow-up practice

#
  • browser-internals-devtools-performance

Related resources

#

Your progress

#

Answers, drafts and completion marks are stored only in this browser. Nothing is sent to a server and no account is used.

Verification: authored. Answers and outputs on this page are authored reference material, not executed results.

© 2026 FrontendX. All rights reserved.