GitHub Pages is a static website hosting service that takes HTML, CSS, and JavaScript files straight from a repository GitHub optionally runs the files through a build process and publishes a website.
Let's now get straight into the process.
Step-1: Creating a GitHub account,
If you already have, you can skip this step.
Step-2: Creating a GitHub Repo.
Create a new public repository and named it as <Your_Username>.
github.io
(as shown in the image below). If it's an organization account, then put the organization name. After that commit it.
Step-3: Adding a index.html
file.
After the repo is created, now it's time to add the index file. You will get served with this kind of screen after you committed the repo, and click on creating a new file. Also, you can head over to the repo main page for creating the file.
Name the file index.html
(shown in the image below) and add some starter HTML code (You can use the sample code below).
<!DOCTYPE html>
<html>
<head>
<title>Ibrahim S</title>
</head>
<body>
<h1>Website is One Minutes</h1>
<p>Did it :)</p>
</body>
</html>
Goto Repository - Setting - Pages - Branch - Change main - Save
Finally Got it...
https://ibrahimsi.github.io/Ibrahim.github.io/
Note: if your website is not visible, no need to worry, wait 1-2 minutes and then try again because sometimes deployment takes time.