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.
- h1 indicates a title.
- ul allows us to place a list using li as each element in the list.
- The section element allows us to seperate elements within the another element.
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.
- Box-shadow puts a shadow underneath the box created above with margin, border, and width.
- CSS allows us to create colors using color: color;
- CSS allows us to move words and images around the browser.
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: allows us to add files.
- code .: opens the file we are seeking.
- cd: opens the file we are locating.
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 listTopics() allows us to list topics in the console in the order listed.
- The selectTopic() selects the topic to be listed in the order its listed.
- The x++ means x+1.