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 visable content shown to the user.
- Remember to use the boiler code.
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.
Git
- git status: checks what branch we are currently on
- git checkout -b branch-name: creates a new branch and switches to it
- git add -A: adds all changes modification in the current working branch
- git commit -m "comment here": a message that describes what the commit contains.
It must have the quotation marks around it " ".
- git pull origin main:
- pull: receive a branch's modifications into the local environment
- origin: indicates the source of the pull will be in the GitHub repo
- main: we are receiving a branch called 'main' from the GitHub repository
- git push origin feature/starter-code: push changes to the GitHub repo
- push: push the changes we have locally to our remote GitHub branch
- feature/starter-code: the name of the remote 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.
- Definitely know how to use obj methods. How to create and invoke them.
You will need to use them to import/export functions to/from files.
- arrow functions are your friends
- Loops: for, for in, forEach
- conditional statemens: if / switch
- getters / setters