Lesson 1: How the Web Works
Every time you open a website, a fascinating chain of events happens in milliseconds. Your browser asks a server for a page, the server sends back code, and your browser turns that code into the page you see. Let's trace exactly how it works.
Key Concepts
Client and Server
Your browser is the client — it requests things. A server is a computer that stores website files and sends them back. When you type a URL, your browser sends a request across the internet to the right server.
HTML, CSS, and JavaScript
Every website is built from three languages: HTML gives the page its content and structure, CSS makes it look good, and JavaScript makes it interactive. Your browser downloads all three and combines them.
URLs and DNS
A URL like https://okstem.org is a human-friendly address. DNS (Domain Name System) works like a phone book — it translates 'okstem.org' into the actual IP address of the server so your browser knows where to connect.
🆕 How a Page Loads
✅ Check Your Understanding
1. What does a browser do?
2. What does DNS do?
3. Which language makes a website interactive?