Prework Study Guide
✨ Open the Console to See What's Happening ✨
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 child elements
- Semantics elements describes content and the role it plays on webpage
- The content is contained between an opening tag and closing tag
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
- There are three ways to style a webpage using css
Git
- git status:checks what branch we are currently on
- git checkout -b branch name: creates a new branch and switches to it
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.
- The first item in any array has an index of 0, not 1
- To comment out multiple lines of JavaScript code, put /* before and */ after the block of code
- JavaScript is an object-oriented programming (OOP) language