Use of GIPHY API to make a dynamic web page that populates with gifs related to the word selected.
Call the GIPHY API and use JavaScript and jQuery to change the HTML.
Lindsey Tummond
- Exploration of
for
loops to iterate through a block of code a number of times - Utilization of
ajax() method
to send asynchronous http requests to submit data from the server without reloading the whole page - Understanding of multiple files and how to link file structure
- HTML
- CSS
- Javascript
- jQuery
- GitHub
- Bootstrap
- Google Fonts
Use the following link https://lindseytummond.github.io/gifTastic/ to open the application.
-
The app takes the topics in an array and creates buttons in the HTML.
-
When the user clicks on a button, the page grabs 10 static, non-animated gif images from the GIPHY API and places them on the page.
-
When the user clicks one of the still GIPHY images, the gif animates. If the user clicks the gif again, it will stop playing.
-
Under every gif, display its rating (PG, G, etc).
-
A user input box is displayed which adds the word to the array and remakes the buttons on the page.