Steps for Hosting a Website on GitHub
- Create a GitHub account on github.com.
- Create a new repository in your GitHub application. Name it your-username.github.io. The name is very important.
- Make a new file called "index.html", and it must exist in the top-level directory.
- Write some minimal html code in the file so that you have an index page that will be your main webpage.
- Enter a message down the page in the "Commit new file," something like "initial commit." Then,
click the "Commit new file" button. Give it a few minutes, then check your-username.github.io. Your
website should be there!