WeatherNow | Tiny experiment with ReactNative for Android | Frontend Framework library
kandi X-RAY | WeatherNow Summary
kandi X-RAY | WeatherNow Summary
Tiny experiment with ReactNative for Android
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of WeatherNow
WeatherNow Key Features
WeatherNow Examples and Code Snippets
Community Discussions
Trending Discussions on WeatherNow
QUESTION
I'm taking a course on freecodecamp and I'm currently stuck in the weather app zipline. The API I'm calling is OpenWeatherMap. The problem for me is the $.getJson is not returning the data even doe the link is right. I placed alert outside the $.getJSON and it works fine. I'll share the source code:
All this is done on codepen if you don't see html tag is because codepen does it by itself. CSS does this too.
HTML
...ANSWER
Answered 2017-Jan-02 at 22:23Programming JavaScript will be much easier if you acquaint yourself with the JavaScript console in your browser. Here's the error that'll be showing up in yours:
Mixed Content: The page at 'https://codepen.io/Zero720/pen/RoOwaw' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://api.openweathermap.org/data/2.5/weather?lat=42.9976979&lon=-77.50486959999999&APPID=d160d975b9920be65fcf14313e95afb4&units=metric'. This request has been blocked; the content must be served over HTTPS.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install WeatherNow
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page