HTML
- The head element contains information about the webpage.
- The body element represents the visible content shown to the user.
- Elements that are nested inside other elements are called children elements.
- Semantic HTML elements are those that describe its content and the role it plays on a webpage.
CSS
- A margin indicates how much space we want outside of an element.
- A padding indicates how much space we want around the content inside an element.
- There are three ways to style CSS: inline CSS, internal CSS style sheet, and external CSS style sheet.
- External CSS style sheet is the most common and preferred method as it allows developers to keep all the CSS rules in a separate file.
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: to add the starter code to the current working branch
- Git pull origin main: this command is to receive a branch's modifications in the local environment
- Git push origin: push the changes we have locally to our GitHub 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.
- An array is a single variable that is used to hold a group of data.
- Arrays can contain more than one type of data: strings, numbers, etc.
- In order to work with individual items in an array we need an index, which is a unique number that identifies the location of the data item in the array.
- Index always start at 0.