Selector Practice: Changing HTML Attributes

Add event handlers to each of the 4 buttons below. Modify both the HTML and JavaScript files so that when each button is clicked, a different animal image and caption is shown.

Challenge: Add a fifth button that displays a new animal.

This is a cat