Some JavaScript

Often you’ll want to respond to a user’s interactions to change something else on the page.

Or maybe add a class to elements as they enter the viewport.

See the source code