How the web works

16-minute lesson · module-webapps-01

You are previewing this course as a guest

Read anything and run any exercise you like. It all runs in your own browser, so nothing here is saved: no XP, no progress, and the AI tutor needs an account. Sign in and your work starts counting.

Sign in

How the web works

16-minute lesson · module-webapps-01

  • Describe the client/server model and what each side is responsible for.
  • Trace one HTTP request/response round trip, including method and status code.
  • Read a URL and name its scheme, host, path, and query string.
  • Recognize common status codes (200, 301, 404, 500) and what they signal.

Source attribution

Status: adapted

How to Think Like a Computer Scientist: Interactive Edition source · Web Applications / How The Web Works / How Web Applications Work

Adaptation notes. Read-along lesson. Web servers cannot run inside the Pyodide sandbox, so there is no graded coding step — just a short video framing and a reading with diagrams-in-prose and example request/response transcripts. Prose is original; the bookstore/courses examples are ours.

License notes. Original chapter is GNU FDL 1.3 (Brad Miller, David Ranum, and the upstream Elkner/Downey/Meyers text). No verbatim text reproduced.