GitHub Pages is a free service that allows you to host static websites directly from a GitHub repository. It’s perfect for personal websites, project documentation, and more. In this chapter, we’ll explore how to create and manage GitHub Pages.
Name the repository in the following way, you can use any name you want.
Click on create Button
Navigate to Pages , here you will see Github pages is disabled because Source code is not present in the repository. Add some Source code to repo.
You can push Source code to the repo or add from Github itself.
After adding source code , select branch and directory that needs to be publish on github pages and click on save
In the right bottom corner you see a deployments link. Click on it.
Click on deployment url.
Your website is deployed to Url and you can share it with anyone.
./style.css
).GitHub Pages is a powerful tool for hosting static websites. Whether you're creating a personal portfolio, project documentation, or experimenting with Jekyll, GitHub Pages makes it easy to get your site online. By mastering these steps, you can share your projects and ideas with the world. Happy coding !❤️