STAGE 01 / LESSON 01
How the web works
A web page is the result of a conversation between a client and a server.
THE IDEA
Understand it.
The internet is the network that moves data between devices. The web is one service built on that network: browsers request resources using web addresses, and servers respond.
When you visit a page, the browser may resolve the domain, establish a secure connection, request HTML, and then request other resources such as CSS and JavaScript. Caches or a content delivery network can serve some of those resources along the way.
SEE IT IN CONTEXT
A simplified request journey
Browser → DNS → server or CDN
→ HTTPS request → HTML response
→ CSS + JavaScript requests → rendered pageThe browser and server have different jobs: the browser presents the interface; the server or CDN supplies resources and may run application logic.
LEARN FROM REAL WEBSITES
See it in the real world.
These simplified structures come from public sources. Company systems change, and the sources may describe only one project or an earlier design.
GitHub
Documentation checked November 2026A browser or app requests data
GitHub documents how a client makes an HTTP request to its public REST API and receives a response.
- Client
- HTTP request
- GitHub REST API
- Response
What to learn: A web interaction has a client, a server endpoint and a response. This is an API example, not a map of all of GitHub.
Read the source: GitHub REST API guideNetflix
Documentation checked November 2026Video delivered closer to viewers
Netflix describes Open Connect, its content delivery network, which places appliances within or near internet service providers.
- Netflix content
- Open Connect appliance
- Internet provider
- Viewer
What to learn: Large websites can distribute content through nearby servers. This is the delivery path for streaming, not a full account of Netflix's website.
Read the source: Netflix Open ConnectTRY IT YOURSELF
Practice.
Open your browser’s developer tools, select Network, reload this page, and find the document request. What other kinds of files did the browser request?
Show one possible answer
You should see a document request and may see stylesheets, scripts, fonts, or images. The exact list depends on caching and the browser.
GO DEEPER