Work with legacy and simple sites using jQuery selectors, events, AJAX, effects, and plugins.
Lessons
Load more content as the user scrolls down.
Infinite Scroll is easiest to learn by reading the example, changing it, and observing the result.
$(window).on('scroll', function () {
$('#toTop').toggle($(this).scrollTop() > 300);
});
$('#toTop').on('click', function () {
$('html, body').animate({ scrollTop: 0 }, 400);
});Practice the Infinite Scroll example in a small scratch file, then explain what changed and why.