One of the ways of scaling up as a developer is building a portfolio. Basically, a portfolio is a way of showcasing work samples and skills stated in your resume.
Lets do this 💪🏻
Login to your GitHub account
Creating a project site.
With project sites, you get to use templates downloaded online or pick a theme from the settings on the repository.
create a new repository named username.github.io. Say if you name is carolyne, your repository name will be carolyne.github.io. This will be your homepage. PS: You can add a description if you like.
Go to repository Settings and scroll down to the “GitHub Pages” section. Select “master branch” under the “Source”.
You may be asked to edit your site`s README.md file
Your chosen theme will automatically apply to files in your repo.
Steps to create personal or organization site
You can work with the repo already created or create a new one.
Clone the repository.
create a folder where you want to store the project on your desktop and clone the new repository
~ $ git clone https://github.com/carolmusyoka18/carolmusyoka18.github.io
add index.html file
You can now create an index.html file in the project folder
~ $ cd carolmusyoka18.github.io
~ $ echo "Hello World" > index.html
Push the Repo
Add commit and push all your changes
`~ $ git add --all
~ $ git commit -m "Initial commit"
~ $ git push -u origin master
And you are good to go 😎🎉🎉
Check out your website https://username.github.io.
If you are deploying Github pages for the first time, you might need to wait for a while before you see the actual site. If you need to make any change to your portfolio, you can make them locally and push the changes as shown above. It is not advisable to make changes directly on the portfolio.
You can edit files directly on GitHub in any of your repositories using the file editor, which uses CodeMirror. You can check out this short tutorial to get it right
The secret is trying and practicing. With time you will, get pretty good at creating portfolios. Share your thoughts or ideas down below.