Initial commit of HTML document for learning jQuery
Shows an alert when the document is ready.
Added some elements with classes and ids to test jQuery selectors
Tested id selectors in jQuery
Tested what happens when two elements have the same ids. Only the first element is grabbed.
Removed duplicate ids
Removed custom jQuery code from previous exercises
Gave three elements the class of "codeup" to test jQuery class selection
Grabbed the three codeup class items and gave them red borders using jQuery's class selector and css() method
Removed the class from one of the elements and confirmed that jQuery no longer grabs that element with the class selector from the previous exercises
Gave element id of codeup and confirmed that the class selector did not grab it
Used jQuery element selectors and the css method to give all list items a font-size of 20px
Added element selectors to garb all the individual elements. Alerted the contents of the h1 tag with jQuery.
Combined selectors that highlighted the h1, p, and li elements into one selector.
Reindented lines for readability
Added several event handlers using jQuery
Replaced native event handler assignment with jQuery event assignment
Added html document to demonstrate jQuery event handling.