- Click the green Code button on this repo and use the SSH tab to copy the URL, then paste it into your terminal using the following command:
git clone PASTE_YOUR_URL- Do the following command using YOUR repo name:
cd hello-world-YOUR_USERNAME- Add the following code to your
index.html
<h1>Hello World</h1>- Add the following code to your
style.css
h1 {
color: red;
}-
Use
http-serverto preview yourindex.htmlto make sure it works! -
In order to push your code to Github, copy/paste the following code into your terminal. Make sure you press enter after the last command.
git add .
git commit -m "update repo"
git push