Work with legacy and simple sites using jQuery selectors, events, AJAX, effects, and plugins.
Lessons
Fetch data with a simple GET request.
$.get() Requests is easiest to learn by reading the example, changing it, and observing the result.
$.getJSON('/api/lessons', function (lessons) {
const items = lessons.map(l => '<li>' + l.title + '</li>').join('');
$('#list').html(items);
});
$.get('/api/status', function (data) {
$('#status').text(data.message);
});Practice the $.get() Requests example in a small scratch file, then explain what changed and why.