- Inspired by the tutorial - How to Connect to an API with JavaScript by Tania Rascia.
- Send request to NASA's API for Curiosity rover dataset of images.
- Filter out image urls from returned JSON.
- Manipulate the DOM from within
main.js
to create cards for each image url. - Title the cards from a substring text of the url.
If you would like to try it:
- You will need a NASA API key.
- Add
env.js
to.gitignore
. - Create
env.js
file usingenv.example
for reference. - Add your fresh new NASA API key to
api_key
insideenv.js
. - Bask in glorious Mars photos.