You can also target elements by their id attributes. Note that, just like with CSS declarations, you type a # before the id's name.
$("#target3").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