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
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
- Inline styles apply to a specific HTML tag, using a style attribute with a CSS rule to style a particular page element only
- Declarations contain two important components: CSS property we want to apply and the value of the property
Git
- git status: checks what branch we are currently on
- git checkout -b branch-name: creates a new branch and switches to it
JavaScript
- Array is a single variable used to hold a group of data
- Function is a set of instructions that tells computer what to do
- Control flow is the order in which computer executes code in script
- variable is a named container that allows us to store data in code