Static websites are websites that don’t require a database to store user data. This means that a static website can be hosted on GitHub without any issues.
To create a static website on GitHub, first, create a new repository. In the repository settings, select “Static website” as the type of repository. Next, add the following files to the repository:
index.html
style.css
scripts.js
Next, add the following lines to the bottom of your index.html file: