Lesson 20 ยท THE GRAND FINALE ยท about 45 minutes ยท do this WITH a parent ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง

๐ŸŒ Publish Day: Put Your Page on the Real Internet

For nineteen lessons, your amazing product page has lived on ONE computer: yours. Today it gets an address on the real internet โ€” a link that works on any phone, tablet, or computer on Earth. This is the moment everything was building toward. Go get a parent โ€” you do this one together!

๐ŸŽฌ Watch first (90 seconds)

Why does a parent need to be here?

Putting something on the internet means everyone can see it, and it needs a real account owned by a grown-up. Creating accounts and sharing things publicly are grown-up decisions โ€” that's not a "boring rule," it's how real web developers with awesome parents do it. So: no parent next to you yet? Pause here, go find one, and tell them the magic words: "I built a website and today we publish it." Watch their face. ๐Ÿ˜„

Two new words: hosting and URL

Right now, your page lives in a file on your computer. When you close the laptop... the website "goes to sleep" too. Nobody else can visit it. To fix that, we need two things:

๐Ÿ’ก The one idea of this lesson Your local file and the online copy are two SEPARATE things. Publishing makes a copy of your files and puts it on the hosting computer. If you change your local file afterwards, the internet version does NOT magically change too โ€” you have to upload again. The loop is always: change it locally โ†’ check it โ†’ upload again. Every real developer on Earth lives inside that loop.
๐Ÿ›ก๏ธ Internet safety rules (read these out loud together)

๐Ÿ› ๏ธ Publish it (parent + kid team-up)

๐Ÿงช Your mission Take practice/landing.html from your computer to a real URL that works on a phone. We'll use Netlify Drop โ€” a free tool where publishing is literally drag-and-drop.
  1. Final check (you, the developer). Open practice/landing.html in the browser one last time. Click the button โ€” does the message appear? Open DevTools and check the Console for red errors (Lesson 18 skills!). Ship it clean. ๐Ÿ•ต๏ธ
  2. Safety sweep (together). Read the whole page with your parent, top to bottom. Any real full names, addresses, school names, phone numbers, or photos of you? Remove them. Fake product? Perfect. โœ…
  3. Parent's turn: the parent creates a free account at https://app.netlify.com (Netlify is a famous, free hosting service that real companies use too). Parent's email, parent's password.
  4. Go to https://app.netlify.com/drop โ€” this magic page is called Netlify Drop. It's a big drop zone that says "drag your site here."
  5. Prepare the package. On your computer, make a NEW folder (call it something like my-site). Put a copy of landing.html inside it, and rename that copy to index.html. Why? index.html is a magic name: when someone visits your URL, the hosting computer automatically opens the file called index.html first. It's the "front door" file.
  6. The big moment: drag the whole FOLDER (not just the file) onto the Netlify Drop page. ๐Ÿซณ๐Ÿ“ฆ
  7. Wait a few seconds... and Netlify hands you a real URL, something like https://something-random.netlify.app. Now do the coolest test in this entire course: open that URL on a phone. Your page. On a phone. From the internet. You are LIVE, worldwide. ๐Ÿคฏ๐ŸŒ
  8. Optional victory lap: in Netlify, open your site's settings and rename it to something cooler, like robo-sneakers.netlify.app. Then send the link to grandparents, cousins, family friends โ€” everyone. You made a real website and it has a real address. ๐ŸŽ‰

๐Ÿ” The update loop

Tomorrow you'll want to change something โ€” a color, a word, a new feature card. Remember: the online copy doesn't update itself! The loop goes:

  1. Fix it locally โ€” edit index.html in your folder on your computer.
  2. Check it โ€” open the local file in your browser. Button works? Console clean?
  3. Upload again โ€” drag the folder onto Netlify Drop again, or (with your parent logged in) drop it on your site's Deploys page so it updates the SAME URL.
  4. Refresh the URL โ€” and there's your change, live for the whole world.

Change โ†’ check โ†’ upload โ†’ refresh. That's the heartbeat of every website on the internet, and now it's yours.

๐ŸŽฎ Quiz time

No peeking at the notes above โ€” trying to remember is what makes it stick!

๐ŸŽ“ YOU DID IT

Stop for a second and let this sink in: you started at "what is a tag?" and you just published a real website to the real internet. HTML walls, CSS paint, JavaScript electricity, AI teamwork, detective debugging โ€” and now, worldwide publishing. You finished the ENTIRE course. That is genuinely a big deal. ๐Ÿฅณ

๐Ÿ“š Want more?

โญ Best thing to read next MDN: Publishing your website โ€” the official guide to putting sites online, including MORE ways to publish (like GitHub Pages) for when you're ready for the next level. Reading it counts as a lesson block!