By Now You have Created a repository of your own Now is the time to open Codespace
Step 1→ Click on the code button
Step 2→ Click on Codespaces and create your codespace
Step 3→Now wait for some time till your codespace gets ready. Once it does make the changes in files. Once it is done now is the time to deploy it.
After You have edited your files and pushed them to the repository, now is the time to Deploy your webpage of GitHub pages.
Step 4→ Click on the settings of the repo you created
Step 5→ Click on the pages section on the left side panel
Step 6→ Now change the source of the GitHub pages from none to the main branch let other settings remain the same and press save.