Hosting a Static Website on GitHub Pages
- Push your website files (HTML, CSS, JS) to a GitHub repository.
- Go to the repository settings.
- Find the "Pages" section.
- Select the branch (usually
main) and folder (usually/rootor/docs). - Save and visit the provided URL to see your site live!