I spent literally all day trying to figure out what is wrong with my code. It seems the getJSON request is not working for some reason.
Even a simple jquery command of modifying the h1 element is not working
$.getJSON("http://api.openweathermap.org/data/2.5/weather?&appID=6a5aa3b59ebd571086cbd82be484ec8b&lat=35&lon=5", function(a){
$('h1').html('Testing');
});
Here’s my code. I’d appreciate any help I could get