"use strict";document.addEventListener("DOMContentLoaded",function(){window.onload=function(){$.ajax({method:"GET",url:"  https://api.openweathermap.org/data/2.5/weather?q=Zurich&units=metric&appid,ca&appid=4a48e1e1428fd83889074671fbf259d9"}).done(function(e){console.log(e),$("#results").empty(),$("#results").append('<img class="ikona" src="http://openweathermap.org/img/wn/'+e.weather[0].icon+'@2x.png"/>\n        <div class="temp-descript"> <p class="descript"> '+e.weather[0].description+"</p>\n          <p>"+e.main.temp+"˚C</p></div>")})}});