How the web works for Frontend Developers
The web works by a browser sending an HTTP request to a server, which replies with HTML, CSS and JavaScript that the browser renders.
Stage: Web basics · Part of the Frontend Developer roadmap · Last reviewed 19 November 2026
What to learn in How the web works
- DNS, IP and domains
- HTTP requests and status codes
- What a browser does with HTML
How the web works interview questions
What happens when you type a URL and press Enter?
The browser resolves the domain through DNS, opens a TCP and TLS connection, sends an HTTP request, receives HTML, then parses it and loads CSS, JavaScript and images before rendering.
Where How the web works fits in the Frontend Developer roadmap
How the web works belongs to the Web basics stage. How the internet, browsers and HTML work.
Other units in this stage
Back to the full Frontend Developer roadmap