Work with legacy and simple sites using jQuery selectors, events, AJAX, effects, and plugins.
Lessons
Pause between queued effects and chain calls.
delay() and chaining is easiest to learn by reading the example, changing it, and observing the result.
$('#ball')
.animate({ left: '200px', opacity: 0.5 }, 600)
.delay(300)
.animate({ left: '0px', opacity: 1 }, 600);
$('#stop').on('click', () => $('#ball').stop(true, true));Practice the delay() and chaining example in a small scratch file, then explain what changed and why.