The Weather Dashboard is a simple web application that allows users to check the current weather conditions for different cities around the world. It utilizes the OpenWeatherMap API to fetch real-time weather data and displays it in an easy-to-read format.
- City Search: Users can enter the name of a city to retrieve its current weather information.
- Weather Details: The dashboard provides details such as temperature, humidity and wind speed
- Responsive Design: The site is responsive and can be used on various devices, including mobile phones, tablets, and desktops.
- HTML5: Markup for the web page structure.
- CSS3: Styling and layout.
- JavaScript: For interactive functionality.
- OpenWeatherMap API: To fetch weather data.
- Clone the repository to your local machine:
git clone https://github.com/your-username/weather-dashboard.git
-
Open the
index.html
file in your web browser. -
Enter the name of a city in the search bar and click "Search."
-
View the current weather conditions and the 5-day forecast.
To use the OpenWeatherMap API, you'll need to sign up for an API key. Once you have your API key, replace 'YOUR_API_KEY'
in the script.js
file with your actual API key:
javascript
const apiKey = 'YOUR_API_KEY';
Contributing Contributions are welcome! Feel free to submit issues or pull requests to improve the Weather Dashboard.
License This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments Thanks to OpenWeatherMap for providing the weather data API. This project was created as part of a web development course.