Welcome to the Weather App! This elegantly designed weather application provides you with real-time weather information for any city 🌍. Simply enter a location, and the app will display the current weather conditions, including temperature, humidity, and wind speed 💨.
🌦️ Try the Weather App here: Weather App
- 🌡️ Temperature Display: Shows the current temperature in Celsius.
- 🌥️ Weather Description: Provides a descriptive summary of the weather (e.g., sunny, cloudy).
- 💦 Humidity Percentage: Displays the current humidity level.
- 💨 Wind Speed: Shows the wind speed in km/h.
- 🔎 User-Friendly Search: Easy-to-use search functionality for entering locations.
- 🎨 Beautiful UI: Designed with custom icons and smooth animations for an enhanced user experience.
This app uses the following technologies:
- HTML5: Structure of the web page 📄
- CSS3: Styling to create an attractive and responsive layout 🎨
- JavaScript (ES6): Data fetching and adding interactivity ✨
- OpenWeatherMap API: Provides real-time weather information 🌐
To set up and run the Weather App on your local machine, follow these steps:
-
Clone the Repository 📂:
git clone https://github.com/HashimThePassionate/weather-app.git
-
Navigate to the Project Directory 🚪:
cd weather-app
-
Open
index.html
in Your Browser 🌐:open index.html
You should now see the Weather App interface, ready to provide weather details 🗺️.
- Enter Your City: Input your desired location in the text box labeled "Enter your location" 🌆.
- Search for Weather Information: Click on the search button 🔍 to retrieve the weather details.
- The app will display:
- 🌡️ Temperature: Current temperature in Celsius.
- 🌥️ Weather Description: For example, "broken clouds" or "rain".
- 💦 Humidity: Humidity percentage.
- 💨 Wind Speed: Wind speed in km/h.
If an invalid location is entered, an alert will prompt you to enter a valid city name 🚨.
The OpenWeatherMap API is used to fetch real-time weather data based on the entered city name 🗺️. The API provides data such as temperature, humidity, wind speed, and a brief weather description.
To use the app, you need an API key from OpenWeatherMap. Once you have your key, replace the APIKey
variable in index.js
🔑.
We welcome all contributions to make this project even better! ✨ Here's how you can get involved:
- Fork the Repository 🍴
- Create a New Branch for Your Feature or Bug Fix 🌿:
git checkout -b feature-branch
- Make Changes and Commit 📝:
git commit -m "Add a new amazing feature"
- Push to Your Branch 🚀:
git push origin feature-branch
- Open a Pull Request 📬
We appreciate all improvements, from fixing a typo to suggesting an entirely new feature! 😊
This project is licensed under the MIT License 📄. You are free to use, modify, and distribute this software as per the terms of the license.