How the Web Works Quiz
Multiple Choice Beginner
Question
When you type a URL and press Enter, what happens first?
Hint
The browser needs to know where the server is before it can connect.
Explanation
The first step is a DNS lookup — the browser queries a DNS server to resolve the domain name to an IP address. Only then can it establish a TCP connection, send the HTTP request, receive the response, and render the page. DNS is the address book of the internet.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.