Sunset And Sunrise
First time using API
This project was the first time working with API calls. I used an API that shows you a time stamp when the sunrise and sunset is. I first get the users current location with Javascript: navigator.geolocation.getCurrentPosition. This value I use to get the sunrise and sunset data of your location. After this I calculate how much time is left based on the current time. And show this in the web browser, also the images change based of time left.
Platform: Web