diff --git a/app.js b/app.js index b331d64..f722c1b 100644 --- a/app.js +++ b/app.js @@ -1,48 +1,38 @@ -const appid = ''; -let weatherData; +const appid = 'eb98981901058b162b2802e1ddd392b9'; +//You gonna need this for caching. +// let globalWeatherData; -$.getJSON("./il.cities.json", function (data) { - let items = []; - $.each(data, function (key, val) { - items.push(""); - }); - - $("", { + "class": "my-city-list", + html: data.map((item) => "").join("") + })); + }); }