Prework Study Guide
✨ Open the Console to See What's Happening ✨
HTML
- HTML elements include text, image, header, list, meta-related, content division, and semantic.
- Elements in HTML begin and end with the elements being in pointed brackets.
- The head element contains information about the webpage.
- !DOCTYPE tells the browser what type of document it should expect when opened.
- The body element represents the visible content shown to the user.
- The body can be divided into sections where elements can be stored and organized accordingly.
CSS
- Styling in CSS comes in three ways; inline, internal and external CSS style sheets.
- 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
- Box-Shadow requires an X, Y, and color values; the color value being in hex.
- Images can be edited by display, height, width, and left and right margins.
GIT
- git status: checks what branch we are currently on
- git checkout -b branch-name: creates a new branch and switches to it
JavaScript
- Variables can contain types of data such as strings, numbers, and boolean values.
- JavaScript can send values and information to a website's console.
- Javascript has a control flow that moves from the top to bottom of a code.
- This Control flow can change with conditional logic such as if statements and loops.
- Arrays is a single variable that can contain a group of data.