📌 What is GitHub Pages?
GitHub Pages is a free hosting service provided by GitHub that allows you to publish static websites directly from a repository.
Step-by-step guide to host a free website using GitHub Pages
GitHub Pages is a free hosting service provided by GitHub that allows you to publish static websites directly from a repository.
Go to github.com and sign up using your email and username. Verify your account.
Create a new repository named:
yourusername.github.io
(This is required for main website hosting)
Upload your:
Go to Settings → Pages → Select branch (main) → Save. Your website will be live in a few seconds.
Visit:
https://yourusername.github.io
You can also start faster by using templates: