?? Day 15/20: Hosting Live Pages on GitHub??
One of the best things about GitHub? You can host your projects for FREE! ??
Today, I explored GitHub Pages, a powerful feature that allows developers to host live web pages directly from a GitHub repository. With just a few clicks, my project went live for FREE! ??!
Why GitHub Pages?
How to Host a Live Page on GitHub Pages:
1?? Create a GitHub Repository – Upload your project files.
2?? Enable GitHub Pages – Go to Settings > Pages in your repo.
3?? Choose a Branch – Select main (or gh-pages for separate hosting).
4?? Wait for Deployment – Your site will go live at: ?? https://yourusername.github.io/repository-name/
5?? (Optional) Use a Custom Domain – Configure your DNS settings for a personalized URL.
Bonus Tip for you:
If you’re working with frameworks like React or Vue, you can still deploy via GitHub Pages using build commands like npm run deploy (with gh-pages package).
I love how GitHub Pages makes web hosting so simple and accessible!