jQuery can target the body element as well.
Here's how we would make the entire body fade out:
$('body').addClass('animated fadeOut');
There was an error while loading. Please reload this page.
New to Free Code Camp?
JS Concepts
JS Language Reference
Other Links