Prework Study Guide
✨ Open the Console to See What's Happening ✨
HTML
- The head element contains information about the webpage.
- The body element represents the visible content shown to the user.
- <p> is for paragraph and <a> is for anchor
- Element Types:
- Text elements
- Image elements
- Header elements
- List elements
Additonal notes
HERE
CSS
- Three ways to style a webpage:
- Inline CSS
- Internal CSS style sheet
- External style sheet
- A margin indicates how much space we want around the outside of an element.
- A padding indicates how much space we want around the content inside an element.
- A "." before a selector indicates that it is a class selector
- CSS Rule Diagram:
Git
- Git Flow
- Create a branch
- git checkout -b {branch name}
- Make changes
- Stage changes
- Save the staged changes as commits
- git commit -m "{commit message}"
- Pull the source code
- Push all of the commits to your branch
- git push origin {branch name}
- Create a PR in Github
- Address review comments
- Merge PR
- Delete your branch
Javascript
- console.log prints to the console
- A variable is a named container that allows us to store data in our code.
- Control flow is the order in which a computer executes code in a script.