Work with legacy and simple sites using jQuery selectors, events, AJAX, effects, and plugins.
Lessons
Choose between iterating and transforming collections.
$.each vs $.map is easiest to learn by reading the example, changing it, and observing the result.
$('.lesson').each(function (index) {
$(this).prepend((index + 1) + '. ');
});
$.each(['HTML', 'CSS', 'jQuery'], function (i, name) {
console.log(i, name);
});Practice the $.each vs $.map example in a small scratch file, then explain what changed and why.