Work with legacy and simple sites using jQuery selectors, events, AJAX, effects, and plugins.
Lessons
Compose asynchronous work with $.Deferred.
Deferred & Promises is easiest to learn by reading the example, changing it, and observing the result.
const lessons = $.get('/api/lessons');
const user = $.get('/api/user');
$.when(lessons, user).done(function (lessonsRes, userRes) {
console.log('Lessons:', lessonsRes[0]);
console.log('User:', userRes[0]);
});Practice the Deferred & Promises example in a small scratch file, then explain what changed and why.