Git Hub Work Flow Reference Guide
- Create new repository on Git Hub.
- Copy the SSH and navigate in Terminal to project location.
- Use git clone +SSH (git@github.com:USER-NAME/REPOSITORY-NAME.git) to clone repository to computer.
- Create files needed for project. Use git add (filename.ext) to add file to staging area.
Or git add . to add all files that are not currently staged.
- Use git commit -m "Descriptive Commit message" To commit changes.
- Use git push origin main to upload changes to Git Hub.
How to link CSS file to HTML
<link href="resources/css/index.css" type="text/css" rel="stylesheet">
CSS Selector Reference Guide
Selector |
Example |
Description |
#id |
#fistname |
selects the element with id= "firstname" |
.class |
.intro |
selects all elements with class="intro" |
element |
p |
selects all "p" elements |