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
- Red text in your code can signify errors (such as an unclosed line of code)
- "eval $(ssh-agent)" and "ssh-add" for enabling ssh (ask about this)
CSS
- 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.
- Click here for hex color codes
Git
- git status: checks what branch we are currently on
- git checkout -b branch-name: creates a new branch and switches to it
- "cd .." to move back a directory
JavaScript
- 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.
- Code is executed from top to bottom
- Functions must be called for them to execute, not just defined