Instructions

Please update index.js and complete the following tasks

  1. Create an event handler for the "cars" button so that when the user clicks it, the gallery displays photos of cars.
  2. [if time] Attach event handlers to all of the other buttons so that the gallery displays photos according to the button pressed.
  3. [if time] Add a "search" box so that the user can display photos of anything they want.
  4. [if time] Modify the template so that captions are also displayed.