In this video you’ll learn:
- A shortcut for isolating/scoping your JS, deferring it, and ensuring that the DOM is loaded before it runs.
- Error handling
- Console logging
- Using data attributes to identify elements instead of id/class.
- Basic if statements
- Calculating the height of an element
- Getting an element’s calculated gap value
- Stripping units from values
- Appending units to values
- Basic JS math
- Setting inline style property