- Click the Fork icon in the top-right corner.
- After you have your own copy, on the right sidebar, click the gear icon next to About and add a description!
- For example, This is a collection of all of my work.
- It is recommended that you duplicate this tab so that you can read the directions in one tab, and follow the directions in the other tab. If you want, you can even split-screen them and put them side by side.
- Click the Settings tab, then change the Repository name to
yourGithubUsername.github.io
. For example, a student with the Github username of johnd1234 would change their Repository name tojohnd1234.github.io
In the future, you will be editing these files using an IDE. For now, you will be editing these files directly on github.com
- Click
script.js
, then click the pencil icon to edit the file. - Change line 1 so that the part between the quotes is your name: it can be your first name, first and last name, or first name / last initial. For example, John or John Doe or John D. This will be what displays in your navigation bar and tab title of the browser.
- Change line 2 so that it matches your Github username. It must match exactly. For example, johnd1234
- Click the green commit button at the bottom.
NOTE 1: It is recommended you rename your logo file to something likelogo.png
NOTE 2: If your file is on Google Drive, you need to download it to the computer first (right-click or control-click the file, then click Download).
- Click on
yourUsername.github.io
towards the top to get back to the directory of all of the files. - Click on the folder
img
. - Click on Add file > Upload files and upload your logo. Click the green commit button at the bottom.
- Click on
yourUsername.github.io
towards the top to get back to the directory of all of the files. - Click
index.html
, then click the pencil icon to edit the file. - Around line 45, you'll see
<img src="img/avatar.png"...
. Changeimg/avatar.png
toimg/logo.png
(unless you have a different filename). Make sure you don't delete the part that saysimg/
- Stay on
index.html
for now.
- Still on
index.html
, around line 78, you'll seeLorem ipsum...
. Feel free to change that text to whatever you want! - Click the green commit button at the bottom.
- In a new tab, go to
yourUserName.github.io
to see the preview of your site!
NOTE: It may take up to a few minutes in order for your changes to be updated on the preview!
You are DONE setting up your portfolio!
- Feel free to open
style.css
and customize the colors or anything else you want! - In the future, you will have enough HTML/CSS skills to completely redo the design of this website!
- In the
projects
directory, make a copy ofexample-project.html
. Name the file whatever you want, i.e.cyoa.html
.- To do this in the command line, simply use
cp example-project.html newFileName.html
- To do this in the command line, simply use
- Customize as needed, using the example starter code and comments to guide you.
- In
index.html
use the example code around line 50 between<!--
and-->
. It is recommended that you copy/paste that code, but without the<!--
and-->
. - Make sure you update the
<h5>
,<h6>
, and<p>
inner text. - Update the
<a>
so thathref="projects/yourFileName.html"