This weather app allows users to enter any city name from around the world and get the current weather conditions using the OpenWeather API.
- Users can enter any city name globally.
- Retrieve real-time weather data, including temperature, weather conditions, and an icon representing the weather.
- HTML
- CSS
- JavaScript
- OpenWeather API
-
Obtain an API Key
- Sign up for a free API key from OpenWeatherMap at OpenWeather API.
-
Run the App
- Replace
your_openweather_api_key
with your actual API key in the file. - Open
index.html
in a browser to use the app.
- Replace
- Add a 5-day weather forecast.
- Improve error handling for cities with similar names.
- Add geolocation-based weather fetching.