Work with legacy and simple sites using jQuery selectors, events, AJAX, effects, and plugins.
Lessons
Show overlay dialogs with focus handling.
Modal Dialogs is easiest to learn by reading the example, changing it, and observing the result.
// Lightweight modal toggle
$('[data-open]').on('click', function () {
$($(this).data('open')).fadeIn(200);
});
$('.modal .close, .modal-backdrop').on('click', function () {
$(this).closest('.modal').fadeOut(200);
});Practice the Modal Dialogs example in a small scratch file, then explain what changed and why.