NASA Astronomy Picture of the Day (APOD) is a frontend project that displays the daily astronomical image provided by NASA's public API.
The website fetches data from the APOD API using modern JavaScript (ES6+) and dynamically renders:
The design is fully responsive and supports light and dark themes, which users can toggle manually.
Technologies used:
<dialog>
Because this project uses JavaScript modules and fetches data from an API, it must be run via a local server (not opened as a file://).
file://
Recommended setup (VS Code):
index.html
This will open the project in your browser at http://localhost:5500 or similar, and you'll be able to test it correctly.
http://localhost:5500