This is an API that allows users to see the time, local weather, and a fact about the background image from NASA! The fact is part of the API key's explanation component for each day's image. To use the API, just click on the link below! If the weather feature doesn't work, double check to make sure your location is on. I hope you like it! :)
- Just click on the link above! The background image as well as the fact about it update every day from NASA's Astronomy Picture of the Day API. Time updates every second/millisecond. In addition, if location is allowed, it will display the local weather in your area.
- Initially, to add something original to the project I tried to add an AQI feature along with the weather where users could see the Air Quality Index from their local area. This would require using a second API and I quickly ran into a bunch of issues including one instance where the site would not deploy at all and would go completely blank. For this reason I had to completely delete the AQI addition and instead added a function that would pull the "explanation" part of NASA's API that I was also using for the background image. This would display a kind of space-themed fun fact that directly tied into the image and would update on its own daily.