/ModalWeather

Use API openweathermap

Primary LanguageJavaScriptMIT LicenseMIT

ModalWeather

Modal with API openweathermap

HTML for widjet in weather.html

CSS for widjet in style.css

  1. For use you can get a API key after registration on https://openweathermap.org/
  2. Connect jquery.js
  3. Open WeatherWidjet.js and find getAPI then change on your API key

this.getAPID = function () { return this.APID = 'YOU API ID'; }

  1. initialize the script: weather.init();

PavelP