~/VibeHandbook
$39

Chapter 03

How the Web Works

Before you build for the web, it helps to know what the web actually is. You don't need a computer science degree, and you don't need to memorize anything. You just need a working mental model — a picture in your head of what happens when you type an address and a page appears.

This chapter builds that picture. Everything a vibe-coded app does, from a login form to a payment, is some version of the same simple dance: one computer asks, another computer answers. Once you can see that dance clearly, the rest of the book stops feeling like magic and starts feeling like plumbing.

  1. 03.1The two characters: client and server
  2. 03.2What a URL actually is
  3. 03.3The request and response cycle
  4. 03.4HTTP methods: the verbs
  5. 03.5Status codes: did it work?
  6. 03.6Headers and cookies
  7. 03.7HTTPS and the padlock
  8. 03.8From a name to a server: DNS
  9. 03.9How this maps to your app
  10. 03.10Recap and Practice

Want it offline?

Get the PDF + EPUB + downloadable prompt library + version updates.

$ Get the PDF — $39