Prework Study Guide
✨ Open the Console to See What's Happening ✨
HTML
- HTML structures a webpage.
- The head element contains information about the webpage.
- The body element represents the visible content shown to the user.
- Most of the content in the head element is not visible to the user.
CSS
- CSS stands for Cascading Style Sheets.
- CSS can be added to a webpage 3 ways: inline, internally, and externally.
- 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.
Git
- Git is a version control software.
- GitHub is a cloud-based hosting service that allows users to collaborate and keep track of projects inside repositories that are stored remotely.
- git status: checks what branch we are curently on
- git checkout -b branch-name: creates a new branch and switches to it
JavaScript
- JavaScript allows for user interaction on a webpage.
- 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.
- JavaScript files are executed from top to bottom. Order matters.