Modify our Giphy’s API application and use promises to make our API request
1) Sign up for a Giphy API Key here: https://developers.giphy.com/ (only for those students who don’t already have one)
2) Get the starter code
The starter code for this code along is hosted on Github, see the url below:
Use the Assignment Submission Git Workflow (detailed here) to access and submit the assignment
3) We’ll be using axios to make our API request. Add the following script tag right before your closing <body>
tag but before the script tag targeting your js
file
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> <!-- Add the axios script tag here -->
<script src="js/app.js"></script>