Description This web application allows users to check the current weather and 5-day forecast for any city around the world. Users can either search for a city by name or use their current location for weather information.
Features
- Current Weather Display: Shows temperature, wind speed, and humidity.
- 5-Day Forecast: Displays forecasted weather conditions for the next 5 days.
- Location-Based Weather: Provides weather information based on the user's current location.
Technologies Used
-
HTML5
-
CSS3 (with Flexbox and Grid)
-
JavaScript (Fetch API for data retrieval)
-
OpenWeatherMap API (for weather data)
Usage
- Open index.html in a web browser.
- Enter a city name in the input field and click "Search" to get weather information.
- Alternatively, click "Use Current Location" to get weather information based on your current location
Credits
- OpenWeatherMap API: Used to retrieve weather data.
- Icons: Weather icons sourced from OpenWeatherMap.