- Write JavaScript code to fetch data over the Internet.
- Gain familiarity with the JSON data format.
For each of the challenges in the original "Crunch the Data" Exercise, you were provided the data in a given hard-coded variable. But client-side applications will more likely be fetching their data from an API server or external file. So let's practice our ability to fetch data from some JSON files hosted on the web. This should help us prepare to request data from APIs in the future.
Instead of using the hard-coded gradebook
variable, fetch the data from this "gradebook.json" file instead.
Instead of using the hard-coded trip
variable, fetch the data from this "trip.json" file instead.
Instead of using the hard-coded tweets
variable, fetch the data from this "tweets.json" file instead.