What Happens When You Visit a Website?
Every page load involves a precise sequence of events happening in milliseconds:
- You type a URL like
https://okstem.org and press Enter.
- Your browser asks a DNS server to translate that name into an IP address (like looking up a phone number).
- Your browser opens a connection to the server and sends an HTTP GET request: "Please send me this page."
- The server sends back an HTTP response containing HTML, CSS, and JavaScript files.
- Your browser parses those files and renders (draws) the visible page.
Frontend vs. Backend
Frontend code runs in the user's browser — HTML, CSS, and JavaScript. It controls what the user sees and interacts with.
Backend code runs on the server — databases, authentication, business logic. The user never sees it directly.
This course teaches frontend development. By lesson 18 you will have a live website deployed on the internet.