首页 > 解决方案 > show local weather using openweathermap api on GitHub pages

问题描述

I create a simple weather web app using HTML +CSS + JS with API Key from "OpenWeatherMap.org" it use browser location permission to get correct temperature , I test it locally and it working fine , but when upload to GitHub pages the site request location permission but temperature is not appear ?!

this is site folders on GitHub

https://github.com/MoSalem84/weatherApp

and this is link of web app

https://mosalem84.github.io/weatherApp/

so what is wrong that case web app unable to fetch location info?

标签: javascripthtmlcssapiweb-applications

解决方案


推荐阅读