This is a simple web app that allows a user trigger a "dance party."
The user can click a suspicious looking button to cause the background to generate random colors - simulating dance lights.
A random dancing gif - referencing a giphy query search term "dance" - will appear
The user can then click giphy, to display random dance gifs
- Clone down repo
- Add a js file under path assets/js/key.js
- Go to Giphy to get an API key
- Paste your key into key.js as follows: const APIKey = "exampleapikey";
-
Only retrieves 50 results due to 50 results per page on Giphy. Updating code to handle pagination in the API request by making additional requests to fetch subsequent pages.
-
Revise random gif functionality to avoid the same gif from displaying
-
Music. Maybe an mp3 file to play when "click me" button is clicked