Work with legacy and simple sites using jQuery selectors, events, AJAX, effects, and plugins.
Lessons
Manage attributes and live properties correctly.
attr() and prop() is easiest to learn by reading the example, changing it, and observing the result.
$('#link').attr('href', 'https://example.com'); // attributes
$('#link').attr('target', '_blank');
$('#agree').prop('checked', true); // live properties
console.log($('#agree').prop('checked'));Practice the attr() and prop() example in a small scratch file, then explain what changed and why.