Prework Study Guide
🪄 Open the Console to See What's Happening 🪄
HTML
- Html is the standard markup language for webpages.
A markup language is a system for formatting and arranging the elements in a document using tags.
It is the invisible backbone of many things we do on a computer.
- The head element contains information about the webpage.
- The body represents the visible content shown to the user.
CSS
- CSS is what makes a webpage beautiful and a work of art. From simple coloring to shadowing and other things.
- 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 status: checks what branch we are currently on.
- git checkout -b branch-name: creates a new branch and switches to it.
- git add -A: commits all files in the working branch staging all changes.
- git commit -m " description here": Commits changes to your Repo, -m is a flag to associate a message with our commit, messages should be short and descriptive.
- git pull origin main: This will pull the base branch into your feature branch.
- git push origin feature/add- : will push up all our changes. The feature name follows after the "-"
Example: git push origin feature/add-html will push this branch to the Repo.
Javascript
- Javascript is the magic that makes a webpage feel alive. It can do everything related to webpage manipulation with a user.
- 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.