🎯 By the end of this lesson you can…
- Describe what happens when you open a website
- Explain the roles of HTML, CSS and JavaScript
- Know what a URL, a browser and a server are
Opening learnwith.khanamir.me
- 1You type the addressthe URL tells the browser which server and which page
- 2DNS finds the serverlike looking up a phone number from a name
- 3The browser sends a request“please send me the home page”
- 4The server respondswith an HTML file
- 5The browser builds the pageand asks for the CSS, JavaScript and images the HTML mentions
Your first page
🌐 HTML · CSS · JS
index.html
👆 Tap a line to explain it
1<!doctype html>2<html>3 <head>4 <title>My first page</title>5 </head>6 <body>7 <h1>Hello, web! 🌍</h1>8 <p>I made this page myself.</p>9 </body>10</html>
Press 👁 Preview, then ✏️ Edit and change the heading. You are now a web developer.
💡 Concept check
Which language decides what colour a button is?
📌 Key takeaways
- Your browser asks a server for files; the server replies with HTML, CSS, JavaScript and images.
- HTML = content and structure, CSS = looks, JavaScript = behaviour.
- A URL is the address of a file on a server.
Finished reading & practising?
Saved in this browser. Create a free account to keep it forever.