A dynamic web app that fetches and displays stunning daily space images from NASA’s Astronomy Picture of the Day (APOD) API using vanilla JavaScript. Built with love, stars, and a pinch of async/await. ☄️🚀
- 🔭 Fetches 10 random images from the NASA APOD API
- 🧠 Uses
fetch()+async/awaitfor API calls - 💾 Option to save images to favorites (feature ready to expand)
- 📱 Responsive card layout using DOM manipulation
- 🌀 Loader/spinner logic included (optional improvement)
- 🎨 Fully dynamic HTML elements created with JavaScript
- JavaScript (ES6+)
- NASA APOD API
- HTML5
- CSS3
- On page load, it fetches 10 random APOD images from NASA.
- Dynamically creates cards for each image using JavaScript.
- Displays:
- Title
- Image
- Description
- Date
- Copyright
- Each image card includes a link to view the full HD version.
This project uses NASA’s demo API key.
You can find the key from here: https://api.nasa.gov/