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
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 insdie an element.
- Class cards is a method of assigning specific styles to elements assigned to that class
Git
- git status: checks what branch we ar currently on
- git checkout -b branch-name: creates a new branch and switches to it
- git add -A: adds changes from working directory to staging area
- git commit -m "description for commit": commits any staged changes to repo
- git pull origin main: retrieves the main branch from the repo
- git push origin branch/name: pushes all changes to cloud repo
- eval $(ssh-agent): The suggested eval command no longer connects to the ssh-agent. This command seems to
work.
JavaScript
- A JavaScript file is linked to an HTML file with a <script></script> element within the <body>.
- A vbariable is a named container that allows us to stire data in our code.
- Control flow is the order in which a computer executes code in a script.