This project uses an API to retrieve trivia based on a number entered by the user. The user enters a number, the data entered is saved in a variable when the user clicks submit. The variable is passed into the dynamic url for the API. The API returns trivia based upon the number entered. The trivia is displayed.
The index file contains the html and is linked to app1.js with the javascript.