Web
Learn how the web actually works. HTTP, HTTPS, DNS, cookies, sessions, CORS, caching, TLS, security headers, and rate limiting.
14 lessons, in order
- 120 min
What Is The Web
Welcome. If you have never thought about what actually happens when you type a URL into a browser, you are in the right place. The web is the world's...
Client-server modelBrowser as a clientURL structureWhat happens between typing and rendering - 215 min
HTTP vs HTTPS
Picture yourself on the free wifi at a coffee shop. Someone else on that same network, running nothing more exotic than a packet sniffer, can watch...
Plaintext HTTPHTTPS as HTTP over TLSConfidentialityIntegrityAuthenticityPadlock UI - 330 min
Request and Response Anatomy
You already know that a browser sends a request and a server sends back a response. What you have not seen yet is what those two things actually look...
Request lineHeadersBodyStatus codesMethodsCurl -v - 425 min
Cookies, Sessions, and Tokens
HTTP has no memory. Every single request you send is treated by the server as if it had never seen you before, even if you sent the exact same...
Set-CookieHttpOnlySecureSameSiteServer sessionsJWT+1 - 525 min
DNS Explained
You point a domain at a new server, the change goes in, and it works from your laptop and not from your colleague's. Or the site is down for half...
RootTLDAuthoritative serverRecursive resolverAAAAA+6 - 630 min
TLS and Certificates
TLS is the layer that turns plain HTTP into HTTPS. By the end of this lesson you will know roughly what happens during the handshake, what a...
TLS handshakeClientHelloServerHelloCertificateKey exchangeCA chain of trust+2 - 730 min
CORS
Your frontend runs on localhost:3000, your API runs on localhost:8000, and the request that works perfectly in curl fails in the browser with a red...
Same-origin policyOriginPreflight OPTIONSAccess-Control-Allow-OriginAccess-Control-Allow-MethodsAccess-Control-Allow-Headers+1 - 825 min
REST API Basics
You are asked to add an endpoint to an existing API and you freeze on the first decision: is it POST /users/42/deactivate or PATCH /users/42? Both...
Resources as nounsMethods as verbsStatus codesIdempotencyHATEOASVersioning - 925 min
WebSockets and SSE
Your feature is "show the new message the instant it arrives". Every tool you have learned so far assumes the client asks first and the server...
Long pollingWebSocket upgradeFull-duplex framesServer-Sent EventsWhen to pick each - 1025 min
Caching and CDNs
Your homepage takes 900 milliseconds to build, and it builds the same thing for the ten thousandth visitor as it did for the first. Somewhere in that...
Browser cacheProxy cacheCDN edgeCache-ControlETagIf-None-Match+2 - 1125 min
Security Headers
A security review lands on your desk with fourteen items on it, and six of them turn out to be response headers you are not sending. That is the good...
Content-Security-PolicyStrict-Transport-SecurityX-Content-Type-OptionsX-Frame-OptionsFrame-ancestorsReferrer-Policy+1 - 1220 min
Rate Limiting and Throttling
At 09:14 your API starts timing out for everybody. Nothing was deployed. It turns out one customer's integration has a retry loop with no delay in...
Token bucketLeaky bucketFixed windowWhere to enforce429Retry-After+1 - 1320 min
Monitoring and Logging
It is three in the morning and a customer says checkout is failing. You have a name, a rough time, and a system spread across five services....
Structured logsCorrelation IDsTracesSpansFour golden signalsLog vs metric+1 - 1440 min
Capstone: A Tiny Web Server
Every lesson in this course explained a header from the outside. You learned what Cache-Control promises, what Access-Control-Allow-Origin permits,...
Serving HTTPCache headersCORS headersSecurity headersCurl -v304 Not Modified+1
Learn Web in your language
Every lesson, quiz, and tutor reply renders in your language. The AI tutor matches the language you ask in.
Roles that use Web
See how hiring teams interview engineers on Web, in production-like environments.
Web Application Engineer
Hire web application engineers in real apps with real routes, real auth and real test suites. Live or take-home, fully recorded.
See the interviewFrontend Engineer (React, Angular, Vue)
Hire frontend engineers in real workspaces with Vite, real component libraries and real performance budgets. Live or take-home, fully recorded.
See the interviewFull Stack Developer
Hire full stack developers in real apps with real APIs, real UIs and real tests. Live or take-home, fully recorded.
See the interview