The HTML and CSS JavaScript Needs
The HTML and CSS JavaScript Needs: The HTML You Need for JavaScript, The CSS You Need for JavaScript.
Updated
- The HTML You Need for JavaScript (Novice): Read a web page the way JavaScript sees it, as elements with tags, attributes and content nested inside each other, with an id or a class on the ones your code needs to find.
- The CSS You Need for JavaScript (Novice): Read a CSS rule's selector, properties and values, pick elements by tag name, class, id or what they're inside, and see how a class added or removed by JavaScript changes the way an element looks.