Work with legacy and simple sites using jQuery selectors, events, AJAX, effects, and plugins.
Lessons
Use $.each, $.map, $.grep, and $.extend.
jQuery Utility Functions is easiest to learn by reading the example, changing it, and observing the result.
const doubled = $.map([1, 2, 3], n => n * 2); // [2, 4, 6]
const evens = $.grep([1, 2, 3, 4], n => n % 2 === 0); // [2, 4]
const merged = $.extend({}, { a: 1 }, { b: 2 }); // { a: 1, b: 2 }
console.log($.trim(' hello ')); // "hello"
console.log($.param({ q: 'jquery', page: 2 })); // "q=jquery&page=2"Practice the jQuery Utility Functions example in a small scratch file, then explain what changed and why.