Modal with API openweathermap
HTML for widjet in weather.html
CSS for widjet in style.css
- For use you can get a API key after registration on https://openweathermap.org/
- Connect jquery.js
- Open WeatherWidjet.js and find getAPI then change on your API key
this.getAPID = function () { return this.APID = 'YOU API ID'; }
- initialize the script:
weather.init();
PavelP