Dear campers, i just finished my Local Weather App! It is quite simple. Any comments are welcome. And let me know if you see something in the code that can be improved. I will thank you a lot!
I have used these APIs:
- http://ip-api.com/docs/api:json // for geolocation
- http://openweathermap.org/current // to get the weather data
Note: this app only works in http mode (http://codepen.io/…), not in https mode (https://codepen.io/…), since if I use “https://crossorigin.me/” (so I could run the app in https mode) in the geolocation API, it always returns the coordinates of New York.