To summarize the challenge, you were asked to create a bounce animation using four different animation libraries that would be executed when you clicked on the target element.

Animate.css

Step 1: Add a click event listener to the target element

Attach a click event listener to the target element and pass in the $event variable as a parameter to the click event function (lines 5–7).

Get hands-on with 1200+ tech skills courses.