Skip to content

anayadesign/Giphy-Gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Giphy Gallery

Hey there! If you're familiar with animated gifs, you know that there's at least 1 (million) for every single thing you can possibly imagine. There are so many gifs out there that it can be pretty easy to feel overwhelmed whilst searching for the perfect one. Well fret no more, using the power of the Giphy API, this tool will serve up 8 gifs based on your input and display them in a neat grid. Click on one of the gifs to launch a spiffy lightbox so you can view the gif with less background distraction.

Enjoy! 😁

Dev notes

To do:

  • User sees search field and enters a search string.
    • Make it look nice. Better yet, make it pop. 🎉
  • Based on search string, access Giphy Search API, limit the results to the first 8 images, for now. No need to get too crazy. 😉
  • Parse JSON into markup, display images as as a grid.
  • User clicks image, launches lightbox gallery. 💡
  • Image title is displayed in lightbox view.
  • User has next, prev, and exit options to control the gallery.
    • User clicks next button, lightbox shows next image.
    • User clicks prev button, lightbox shows prev image.
    • User reaches end of gallery, loops back to other end.
    • User clicks exit button, lightbox closes.
    • Also, keyboard commands!

!important

  • At any point, user can modify their search string without reloading.