url:https://alfahad27.github.io/your-weather/
This Weather App is a simple web application that allows users to check the current weather conditions for a specific location. It provides real-time weather information, including temperature, humidity, wind speed, and weather conditions.
- User-friendly interface.
- Real-time weather data powered by a third-party API (e.g., OpenWeatherMap).
- Search for weather conditions by city or location.
- Display of current temperature, humidity, wind speed, and weather conditions.
- Responsive design for a seamless experience on various devices.
- HTML5
- CSS3
- JavaScript
- Third-party Weather API (You'll need to sign up for an API key)
To run this Weather App locally, follow these steps:
-
Clone this repository to your local machine:
git clone [https://github.com/yourusername/weather-app.git](https://github.com/alfahad27/your-weather.git)
-
Navigate to the project directory:
cd weather-app
-
Create a config.js file in the root directory and add your API key obtained from OpenWeatherMap:
// config.js const apiKey = 'YOUR_API_KEY_HERE';
-
Open the
index.html
file in your web browser or host it on a web server for testing.
- Enter the name of a city or location in the search bar.
- Click the "Search" button or press Enter.
- The app will fetch and display the current weather conditions for the entered location.
- Weather data provided by OpenWeatherMap.
- Icons used in this project are from FontAwesome.
If you'd like to contribute to this project, please open an issue or submit a pull request. We welcome any contributions to improve this Weather App!