Storing variables as arrays or strings too:
var laurel = "Laurel Schwulst";
var groceries = ["milk", "eggs", "flour", "butter", "brown sugar"];
jQuery Basics / Review
Find elements (traverse the DOM):
Manipulate those elements with functions such as:
.css(), .html(), .show(), .hide(), .addClass(), .removeClass(), .append(), .prepend(), .fadeIn(), .fadeOut(), etc.
Returns results in array
// finds all h1 header elements
// finds class .nav in .header
Inserts (overwrites) HTML in selected elements, both content and DOM. Can write plain HTML into this.
Returns all HTML of selected element as a string