Mars Weather App using vanilla javascript. by The Utopian Fool
Grab an API key from NASA https://api.nasa.gov/ and replace the DEMO_KEY
API URL used https://api.nasa.gov/insight_weather/?api_key=DEMO_KEY&feedtype=json&ver=1.0
Use this page as a proxy to fix CORS issue https://cors-anywhere.herokuapp.com/
/* Example in vanilla Javascript*/
const proxy = 'https://cors-anywhere.herokuapp.com/';
const url = `${proxy}https://github.com/utopianfool/link-api/projects.json`;
🌐 Demo
Thanks to Kevin Powell and Web Dev Simplified for the initial tutorial https://youtu.be/MDENx86nK4k