TheRealRajan / Time-and-Weather

A time and weather app using JavaScript and OpenWeatherMap API.
https://therealrajan.github.io/Time-and-Weather/
MIT License
1 stars 0 forks source link

The weather is hardcoded for only one city "Kathmandu" and it will not reflect the weather conditions if you are from any other city. #1

Closed TheRealRajan closed 3 years ago

TheRealRajan commented 3 years ago

A hardcoded API request is sent to OpenWeatherMap with the city name as "Kathmandu" hence the weather will only work for Kathmandu and no other city.

TheRealRajan commented 3 years ago

The weather is now dynamic and you can search for the city to get its current weather.