Prework Study Guide
✨ Open the Console to See What's Happening ✨
HTML
- The head element contains information about the webpage not seen by users
- The body element represents the visible content shown to the user
- Order matters when it comes to headers, footers, and everything inbetween
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.
- webpages can be styled directly in HTML or linked to a stylesheet
Git
- git status: checks out what branch we are currently on
- git checkout -b branch name: creates a new branch and switches to it
- Git is verision control system to track changes and test new code without compromising the main 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 in a script.
- adds funtionalitly to webpage