Work with legacy and simple sites using jQuery selectors, events, AJAX, effects, and plugins.
Lessons
Handle hover, mouseenter, mouseleave, and double-click.
Mouse Events is easiest to learn by reading the example, changing it, and observing the result.
$('#box')
.on('click', function () {
$(this).toggleClass('active');
})
.on('mouseenter', function () {
$(this).css('opacity', 0.8);
})
.on('mouseleave', function () {
$(this).css('opacity', 1);
});Practice the Mouse Events example in a small scratch file, then explain what changed and why.