Skip to content

Mohit5Upadhyay/WeatherApplication

Repository files navigation

Weather App Click here

Overview

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.

Features

  • 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.

Tech Stack

  • 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.

Getting Started

Prerequisites

  • A web browser
  • An internet connection

Installation

  1. 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.

Usage

  • 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.

Contributing

Contributions are welcome! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/YourFeature
  3. Make your changes and commit them:
    git commit -m 'Added new feature'
  4. Push to the branch:
    git push origin feature/YourFeature
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Acknowledgements

  • OpenWeatherMap API for providing weather data.
  • Font Awesome for icons.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published