What the browser can tell you about this page
A peek ahead: JavaScript can read the page and pull a URL apart. You'll learn how in the JavaScript course.
A website is a set of files kept on a computer called a server; your browser asks for them over the internet and turns them into the page you see.
Change the code and press Run (Ctrl+Enter). Predict what will happen first, then break it on purpose and read what changes. Your edits are saved and match the lesson page.
Ready for more? This phase has 3 hands-on exercises with automatic checks.
Practice questions
Write the code in the editor, run it, then open the model answer to compare.
Write the URL parts (protocol, domain, path) of https://developer.mozilla.org/en-US/docs/Web/HTML.
In the live example, add a second paragraph under the first one that says what a server is, in one sentence.
Explain it without notes
In your own words, what happens between typing a URL and seeing the page?
What are the three parts of https://hectal.in/html, and what does each tell the browser?
What does the status code 404 mean, and whose fault is it usually?
Preview
Console
Nothing logged yet.Expected console output
Protocol of a real URL: https:
Domain: hectal.in
Path: /html