HTML
- The head element contains information about the webpage.
- The body element represents the visible content shown to the user.
- The footer element often contains copyright information.
CSS
- A custom class can be used to target elements, useful for multiple elements with the same style
- Margin indicates how much space we want around the outside of an element.
- Padding indicates how much space we want around the content inside an element.
Git
- git status: checks what branch we are currently on
- git pull origin main: pulls main branch from github to local
- git add -A: used to commit files in working branch to github
- git commit -m "message": Gives message to the committed working branch
- git checkout -b branch-name: creates a new branch and switches to it
- git checkout main: locates back to the main branch
JavaScript
- Control flow is the order in which a computer executes code in a file
- Javascript code is executed from top to bottom
- A variable is a named container that allows us to store data in our code.
- To execute a function, we must remember to call the function.