[SOLVED] Openweatherapi is not working

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){

Here’s my code. I’d appreciate any help I could get

Apprently it’s working now.

I just had to put https://cors-anywhere.herokuapp.com/http://api.openweathermap.org/data/2.5/weather?...

to change it from http to https