GitHub Pages:
What is GitHub Pages?
GitHub Pages is a free service that is available for everyone who has an GitHub account to host their own static webpage from a GitHub repository. In other words, you can create a website by using JavaScript, CSS, HTML, images or videos. This feature is fantastic when you want to create a webpage for a personal blog or your portfolio. The term static webpage is a webpage that doesn't require any user input or behaviour.
GitHub Pages isn't for you, find another solution.
It is fairly easy to set up even with very little knowledge on how GitHub works. GitHub Pages will automatically deploy your changes when you push the new code, so it is simple to update as well.
This makes the webpage easy to mess up, if you are not a 100% sure of what you are doing in your code.
But don't worry, there are ways to preview your design, before pushing the code if you are a beginner.
You can host your site on the 'github.io' domain or you can connect your webpage to your own domain to make it more personal.
How I configured my test webpage:
-
First you must have an
GitHub Account. It can easily be created if you don't already have one: github.com -
Look to the
top left of your screen. Find the + icon and click it. Then choose New repository. -
Then choose the owner of the repository and type a name. A description for for new repository could be useful. You choose if you want to make the repository public or not, but for learning purposes, I'll make this one public. Choose to add a README file. Note that the repository will have a 'main branch' as a default. The description on what a branch is, can be found here:
GitHub Notes
Then click Create repository.
Everyone will have access to read the files if you choose public. If you have sensitive data in your repository, please remove it before publishing.
- Congratulations, your first repository has been made!