Create a repository in GitHub
Login GitHub→ click on + symbol → click on new repository → write repository name (e.g; mozahed525.github.io) → checked public, checked initialize → click on create repository → copy the link from URL or click on clone or download → click on copy on clipboard….
Create a project directory and clone the GitHub repository:
Go to your project directory (folder) → click the right button of mouse → then click on Git bash here → write git clone then right click of your mouse and the link of that project will be pasted here → press enter…
Create some files and directory:
After cloning, add some files like index.html, style.css, and main.js etc. Commit and push all the files.Create a web address in GitHub:
Now go to settings under the repository in GitHub. Click on Pages from left side. Select source, theme and then an webpage URL will generate.This webpage will be the website address.
Post a Comment