HTML
- The head element contains information about the webpage.
- The body element represents the visible content shown to the user.
- The title is what shows in the tab of a web browser and important for web searches
- a is for anchor
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.
- A section can be formatted with certain attributes of a class
Git
- git status: checks what branch we are currently on
- git checkout -b branch-name: creates a new branch and switches to it
- Add, Commit, Pull in base branch (main), and push feature branch
- git add -A: add the changed files in our working directory to the staging area of Git
- git commit -m "[message here]":Record changes to the repository with commit message
- git pull origin main: Pull latest from main branch before pushing feature
- git push origin [branch name here]: push feature branch to GIT
- git checkout main to switch back to main branch
- git pull origin main to pull in the latest changes.
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.
- const is a constant variable that cannot be changed
- let is a variable that can change throughout your code