GitHub pages allows you to create a live website through your GitHub repository.
Firstly, the repository you are using must have an index.html file.
Go to your repository on GitHub and go to settings.
On Settings, find Pages.
Ensure that:
for branch, you select main
for folder, you select (root), then save
GitHub pages allows you to create a live website through your GitHub repository.
Firstly, the repository you are using must have an index.html file.
Go to your repository on GitHub and go to settings.
On Settings, find Pages.
Ensure that:
for branch, you select main
for folder, you select (root), then save
There should be a link saying, "Your site is published at ..."
Only when you have committed the changes in your repository, will the site update. Give it a minute or 2 for it to update.