While working on the local weather app project I ran into trouble displaying the weather data from openweathermap.org onto the console. I’m able to get my lat/long and concat it onto the url but I get the following error on the web console:
I’ve looked up several videos and articles on JSONP but none of the suggestions work (I get the same error). I understand that this is because my browser is not allowing me to access data from a different domain as a means of additional security(or something to that effect), and that JSONP is a technique to bypass those protections.
Unfortunately I’m not having any luck solving the issue, if anyone can help me solve this issue or point me in the correct direction it would be greatly appreciated. Here’s the link to the project. Thanks in advance!