Check-in 4

28 February 2019   PDF version

Task

For this check-in, take what I did in class to introduce jQuery:

jquery-demo.svg

Figure 1: jQuery demo page

and add one new button, labeled “Reset”. When pressed, the button should remove any cross-throughs on items, and set the count to “0 destinations visited”.

To do so, you should use the .click() callback technique in jQuery, and then .removeClass("finished") on the <li> elements.