Prework Study Guide
✨ Open the Console to See What's Happening ✨
HTML
- Text that is displayed for the end user to see must be placed within the Body Element of the index.html file
- Elements that are nested inside other elements are called "Child Elements" while the element that holds all the children are known as the "Parent Element"
- Semantic HTML Elements (such as body) describes its content and the role it plays on a webpage
- Since this is written within a ul, I can continue to add more notes without the bullet points ending
CSS
- There are 3 types off CSS Styles for webpages: Inline CSS, Internal CSS Style Sheet and External CSS Style Sheet
- I created an Enternal CSS style sheet and created a link to the HTML.Index file so the styling can be applied to the webpage
- Within the CSS file, we clarified the property assignments associated with the selector to match the class id on the HTML.Index file to affect the desired elements that has the class element of card
- This in return adjusted the placement and font sizes of the img and text to be more user friendly for the end-user
Git
- git status: shows the branch that you're currently in
- git checkout branch-name: switches to the desired branch
- git pull origin branch-name: pulls the latest branch
- git checkout -b branch-name: creates a new branch
JavaScript
- Control Flow for JavaScript executes code from top to bottom, making it so that placement of code needs to be properly ordered
- Variables can be assigned a value, while Arrays contain a group of data also associated with a Variable
- Functions are a set of instructions that tells the computer how to perform a certain task
- JavaScript statements should always end with ;