HTML
- The head element contains information about the webpage
- The body element represents the visible content shown to the user
- The head element contains the title element that holds the title of the website
- In the body element you can include header, main and footer elements that helps to organize your page
- In the body element we mainly use semantic elements that clearly defines their content
CSS
- A margin indicates how much space we want the outside of an element
- A padding indicates how much space we want around the content inside an element
- The border indicates the style, width and color of an element's border
- A selector defines the elements or attributes to which the rules, or declarations, will apply
- Declarations contain two important components: the CSS property we want to apply and the value of the property
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 modifications in the current working branch to the staging area
- git commit -m "commit message": captures a snapshot of the curerntly staged changes
- git pull origin main: check if our local branch is in sync with the base branch in GitHub
- git push origin remote branch's name: pushes the changes that we have done on the local branch to the remote branch
JavaScript
- A variable is a named container that allows us to store data in our code.
- Control flow is the order under which a computer executes code in a script.
- An if statement is a conditional statement that will only execute if the statement meets a condition, or is true.
- An array is a single variable that is used to hold a group of data.
- A for loop uses the predictable pattern of indices to perform a task on all the items in an array by allowing a single code block to be executed over and over.