1.1 KiB
1.1 KiB
My website
Live at https://STUDENT.classproject.dev
Working on it in class
git clone https://git.classproject.dev/__STUDENT__/site.git
cd site
Then every time you change something:
git add .
git commit -m "say what you changed"
git push
About a minute after you push, your live page updates. You can watch it happen under Actions on the repo page.
Working on it at home
You don't need your class laptop. Go to https://git.classproject.dev/STUDENT/site, sign in, click a file, and click the pencil to edit it. Commit at the bottom of the page. That counts as a push, so your site updates the same way.
Files
| File | What it is |
|---|---|
index.html |
Your home page. Must keep this exact name. |
style.css |
How the page looks. |
images/ |
Put pictures here. |
If something breaks
Your page has to be called index.html, all lowercase, in the top folder.
File names should be lowercase with hyphens: my-cat.jpg, not My Cat.JPG.
The web is fussy about capital letters in a way your laptop is not.