Coding Buds logo
Back to Blogs

Web Development · Tutorial

Put Your Webpage on the Internet! 🧙‍♂️

You already wrote the code. Now the whole world gets to see it. Follow these five wizard steps and your project will be live on the internet — for real!

July 202510 min readCoding BudsAges 8 – 16
🌍🚀

Coding Buds · Web Wizard Tutorial

1. GitHub Account2. Code → HTML3. Repository4. Upload File5. Go Live 🌐

🪄Hey, Coding Bud!You’ve already written real Python code — that’s amazing! Now it’s time to do something even cooler: put your creation on the internet so anyone in the world can visit it. Follow each step and you’ll be a web wizard in no time! ⭐

What You’ll Need

  • A computer or laptop with internet
  • Your Python code from class
  • A parent's email address (for GitHub sign-up)
  • About 15–20 minutes of wizard time 🧙‍♂️
01

Step 1 of 5

🧙 Create Your GitHub Account

First, we need to create an account on a website called GitHub. Think of GitHub as a magic notebook in the sky where coders save all their work so it’s never lost — and so they can share it with the world!

🏠Think of it like this: GitHub is like a giant library in the clouds. Your code is a book, and GitHub gives it a special shelf with your name on it. Anyone can find your book and read it!
  1. 1Go to github.com in your web browser.
  2. 2Click “Sign up”— it’s totally free!
  3. 3Type in your email address. Ask a parent if you need help with this part.
  4. 4Pick a username — this is your wizard name! Make it fun but remember it. (Example: coder-sam)
  5. 5Create a password and keep it safe. Write it down somewhere!
  6. 6Click the big “Create account” button and follow the steps to finish signing up.
📸What you'll see — the Sign Up page
What you'll see — the Sign Up page
📸Fill it in like this (use YOUR name and email!)
Fill it in like this (use YOUR name and email!)
⭐ Wizard Tip: Your username will be part of your webpage’s address, so make it something you love! No spaces allowed — use dashes instead.
🎉You did it! This is your GitHub home page
You did it! This is your GitHub home page
· · ·
02

Step 2 of 5

✨ Turn Your Code into a Webpage

Next, we’re going to use a super cool tool called Code to Webpageto turn your Python code into something the internet can show. It’s like a magic translator! 🪄

🔮Think of it like this: You wrote your spell in Python. Code to Webpage is like a magic scroll that reads your spell and rewrites it in a language the internet understands — called HTML!
  1. 1Go to code-webpage.vercel.app— that’s the Code to Webpage tool!
  2. 2You’ll see a big dark box. That’s where your code goes!
  3. 3Open your Python code from class. Select all of it (Ctrl+A or Cmd+A) and copy it (Ctrl+C or Cmd+C).
  4. 4Click inside the dark box on the website, then paste your code (Ctrl+V or Cmd+V).
  5. 5Click the big green “Convert to HTML →” button!
📸Paste your code in here
Paste your code in here
  1. 6Your HTML code will appear below. Now click “Copy HTML” — that arrow is pointing right at it!
📸Click "Copy HTML" — the green button up there!
Click "Copy HTML" — the green button up there!
⭐ Wizard Tip: Don’t worry about what the HTML code means — the tool handled all that magic for you! Just make sure you copied it all.
· · ·
03

Step 3 of 5

🏰 Create Your Repository

Now we’re going back to GitHub to create something called a repository (say it like: re-poz-it-or-ee). This is the special folder where your webpage will live!

🗃️Think of it like this: A repository is like a magical backpack just for your project. It keeps everything together — your code, your webpage, everything — safe and organized in one place!
  1. 1Go back to github.comand make sure you’re logged in.
  2. 2Look for the green “Create repository” button on the left side of your home page and click it.
📸Click "Create repository" on your home page
Click "Create repository" on your home page
  1. 3In the “Repository name” box, type a name for your project — like my-project. No spaces!
  2. 4Make sure “Public” is selected so people can visit your webpage.
  3. 5Leave everything else alone and scroll down to click the green “Create repository” button!
📸Fill in your repo name like this
Fill in your repo name like this
🎉Your repository is created! It looks like this
Your repository is created! It looks like this
⭐ Wizard Tip: See where it says “creating a new file”with the arrow? That’s what we’re clicking next!
· · ·
04

Step 4 of 5

📄 Add Your HTML Code

Your magical backpack (repository) is empty right now. Time to put your webpage code inside it! We’re going to create a file called index.html— that’s the special name the internet uses to find your homepage.

📖Think of it like this: index.html is like the front door of your webpage. When someone visits your address on the internet, the browser opens this file first — just like opening the front door of a house!
  1. 1Click where it says “creating a new file” (the green arrow was pointing to it in the last screenshot).
  2. 2At the top where it says the file name, type exactly: index.html — spelling counts here!
  3. 3Click inside the big white/dark area below — that’s the editor where you write the code.
  4. 4Paste the HTML code you copied from Code to Webpage (Ctrl+V or Cmd+V).
📸Name the file "index.html" and paste your code in
Name the file "index.html" and paste your code in
  1. 5Click the green “Commit changes...” button in the top right corner.
  2. 6A little box will pop up. Just click the green “Commit changes” button again.
📸Click "Commit changes" to save your file!
Click "Commit changes" to save your file!
🎉Your file is saved! You should now see index.html in your repo
Your file is saved! You should now see index.html in your repo
⭐ Wizard Tip: See the Settingstab at the top? That’s where we’re going next — the arrow is already pointing to it! 👆
· · ·
05

Step 5 of 5

🌐 Go Live on the Internet!

This is the most exciting part! We’re going to flip a switch called GitHub Pagesthat turns your repository into a real live website that anyone can visit. Let’s do it!

💡Think of it like this:Right now your webpage is like a drawing inside your backpack — only you can see it. GitHub Pages is like putting that drawing in a giant window for the whole neighbourhood to see. You’re opening the curtains! 🪟
  1. 1Click the ⚙️ Settings tab at the top of your repository page.
  2. 2Scroll down the left menu and click “Pages” — the arrow will show you!
📸In Settings, find and click "Pages" on the left
In Settings, find and click "Pages" on the left
  1. 3Under “Branch”, click the dropdown that says “None” and choose “main”.
📸Click the dropdown and select "main"
Click the dropdown and select "main"
  1. 4Click the green “Save” button!
📸Click Save — the arrow is pointing right at it!
Click Save — the arrow is pointing right at it!
  1. 5Wait about 1–2 minutes then refresh the page. You’ll see a message that says “Your site is live at...” 🎉
  2. 6Click “Visit site” to see your webpage on the real internet!
🎉You'll see this — your site is live! Click "Visit site"!
You'll see this — your site is live! Click "Visit site"!
🌟THIS is your webpage — live on the internet!
THIS is your webpage — live on the internet!
⭐ Wizard Tip: Your webpage address will look something like yourusername.github.io/your-repo-name — you can share it with anyone and they can visit it from anywhere in the world!
· · ·
🏆

You’re a Web Wizard Now!

You created a GitHub account, turned your Python code into HTML, set up a repository, uploaded your file, and published it live on the internet. That’s what real developers do — and you just did it too! 🧙‍♂️⭐

Wizard Checklist — Tick Off Each Step!

  • I created my GitHub account
  • I pasted my code into Code to Webpage and copied the HTML
  • I created a new repository on GitHub
  • I created index.html and pasted my HTML code in
  • I enabled GitHub Pages and my site is LIVE! 🌐

What to do next?

  • Share your live link with your family and friends!
  • Try editing your code and uploading a new version.
  • Ask your Coding Buds teacher about learning HTML and CSS to make your page look amazing.
  • Build your very own personal website from scratch in our Web Development course!

Ready for more?

Take your coding to the next level with Coding Buds.

From Scratch to Python, Web Development to Java — we have a course for every young coder. Book a free trial today, no commitment required.

Book a Free Trial
Made with 💚 for Coding Buds · Happy coding, wizard! 🧙‍♂️✨Page by Pavan Sankiliraj