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 user.
- The title element sets the title of the webpage
- The style element defines the CSS styles associated with a website
- The base element defines the base URL for a website
- The meta element defines metadata such as the character set, description, keywords, authors, and viewport.
- The charset element sets our character coding
- The script element embeds client side scripts in the HTML document
CSS
- A margin indicates how much space we around the outside of the element.
- A padding indicates how much space we want around the content inside the element.
- Class attributes allow us to share a CSS rule to any element we choose by assigning the rule to a class attribute with a class selector.
Git
- git status: checks what branch we are currently on
- git checkout branch -b creates a new branch and switches to it
- git branch -d (branch name) deletes the branch
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.
- To execute a function we must call it in our code.