Instructions
Please update index.js and complete the following tasks
- Create an event handler for the "cars" button so that when the user clicks it, the gallery displays photos of cars.
- [if time] Attach event handlers to all of the other buttons so that the gallery displays photos according to the button pressed.
- [if time] Add a "search" box so that the user can display photos of anything they want.
- [if time] Modify the template so that captions are also displayed.