Problem loading json url

function setup() {
createCanvas(400, 400);
let url=‘http://api.open-notify.org/iss-now.json’;
loadJSON(url,drawEarthquakes,‘jsonp’);
}

function draw() {
background(220);
}
function drawEarthquakes(earthquakes){
print(earthquakes);

}

error message:> p5.js says: It looks like there was a problem loading your json. Try checking if the file path [http://api.open-notify.org/iss-now.json] is correct, or running a local server.[Local server · processing/p5.js Wiki · GitHub]

I have seen that the path name is correct
can someone suggest whr I am going wrong and how to work it out
I have seen a similar question but was not able to follow the discussion
So srry fr the inconvenience
<>

sorry for being naive I am no able to make out from the suggestion put forward.
the problem persists

p5.js says: It looks like there was a problem loading your json. Try checking if the file path [https://samples.openweathermap.org/data/2.5/weather?q=London&appid=439d4b804bc8187953eb36d2a8c26a02] is correct, or running a local server.[Local server · processing/p5.js Wiki · GitHub] <

I am working in p5js web editor
the source code provided in the reference is working fine
but whenever i am putting th url i am getting this error
Thanks