Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Practice build · Frontend and the browser

Build your own Web Browser

A browser that downloads pages over HTTPS, parses HTML and CSS, lays out and paints boxes and text, and handles links.

  • Advanced
  • About 30–60 h
  • 5 checkpoints
  • 2 tutorials · Python, Rust

Pick a tutorial, then check yourself at each checkpoint. Work in any language you like.

Choose a tutorial

Why build it

Advice on front-end performance and accessibility comes from how browsers work. Building the pipeline (network, parse, style, layout, paint) makes that advice concrete.

You will be able to

  • Request pages over HTTP and HTTPS by hand.
  • Parse HTML into a DOM tree and CSS into rules with selectors and the cascade.
  • Lay out block and inline boxes, then paint them.
  • Handle clicks, links, scrolling and history.

Skills it exercises

Recommended on Frontend Engineer.

Checkpoints

How you know you are there

Work in any language. Each checkpoint ends with something you can run or observe, so you can check it yourself.

  1. Checkpoint 1Self-check

    Downloading

    Done when: Your browser fetches a page over HTTPS with a socket and a TLS library, follows redirects and prints the text.

  2. Checkpoint 2Self-check

    Drawing

    Done when: Pages render in a window with word wrapping and scrolling.

  3. Checkpoint 3Self-check

    HTML

    Done when: An HTML parser builds a tree that handles implicit tags, and a test prints the tree for tricky inputs.

  4. Checkpoint 4Self-check

    CSS and layout

    Done when: Block and inline layout apply fonts, colours and margins from a stylesheet, and a simple page looks close to a real browser's rendering.

  5. Checkpoint 5Self-check

    Navigation

    Done when: Clicking links navigates, with back and forward history.

Stretch goals

  • Run JavaScript with an embedded engine and expose a small DOM API.
  • Time each pipeline stage and add incremental re-layout.
Follow a tutorial

Step-by-step guides

Pick one in a language you know (tutorial languages: Python, Rust). They open on the author’s site.

Practice builds are self-paced: Tech Atlas does not track them or count them as evidence. To show a skill, take its knowledge check from the skill page.

Tutorials come from codecrafters-io/build-your-own-x (CC0, snapshot of 2026-07-14, commit aa17439; links checked on 2026-10-19). Each tutorial belongs to its author and keeps its own licence; Tech Atlas links to it and does not host it. Briefs, checkpoints and the mapping to skills are Tech Atlas editorial drafts.