Weather App Click here
The Weather App is a web application that provides real-time weather updates and a 5-day weather forecast for any location. Users can enter a city name or use their current location to fetch weather data.
- Search for weather updates by city name.
- View current weather conditions, including temperature, wind speed, and humidity.
- Get a 5-day weather forecast.
- Use geolocation to fetch weather data based on the user's current location.
- Responsive design for accessibility on various devices.
- HTML: Structure of the web application.
- CSS: Styling and layout of the application.
- JavaScript: Functionality for fetching and displaying weather data.
- OpenWeatherMap API: Source of weather data.
- A web browser
- An internet connection
- Clone the repository:
git clone https://mohit5upadhyay.github.io/WeatherApplication/
Open the index.html
file in your web browser.
Optionally, you can customize the API key in the script.js
file. Sign up at OpenWeatherMap to obtain your own API key.
- Enter a city name in the input field and click the Search button.
- Alternatively, click the Use Current Location button to get weather updates based on your geolocation.
- View the current weather and the 5-day forecast displayed on the screen.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeature
- Make your changes and commit them:
git commit -m 'Added new feature'
- Push to the branch:
git push origin feature/YourFeature
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
- OpenWeatherMap API for providing weather data.
- Font Awesome for icons.