Skip to content

Latest commit

Β 

History

History
67 lines (42 loc) Β· 2.15 KB

README.md

File metadata and controls

67 lines (42 loc) Β· 2.15 KB

🌦️ Weather App

A simple weather app that fetches and displays weather information for a specified city.

Table of Contents

πŸ“– Introduction

The Weather App is a web application that allows users to search for the weather forecast of a specific city. It uses the OpenWeatherMap API to retrieve weather data and displays it in a user-friendly format.

✨ Features

  • 🌍 Search for weather forecasts of different cities.
  • 🌑️ Toggle between Celsius and Fahrenheit units.
  • 🌀️ Display current weather conditions, temperature, real feel, humidity, wind speed, and pressure.

πŸš€ Demo

You can view a live demo of the Weather App Here.

🏁 Getting Started

  1. Clone the repository to your local machine:

    git clone https://github.com/degala-prasanna/Weather-App.git
  2. Navigate to the project directory:

    cd Weather-App
  3. Open the index.html file in your preferred web browser.

πŸ“ Usage

  1. Enter the name of a city in the search bar and submit the form.
  2. The app will display the current weather information for the specified city.
  3. Toggle between Celsius and Fahrenheit units by clicking on the respective unit buttons.

πŸ”‘ API Key

The Weather App uses the OpenWeatherMap API to fetch weather data. You need to provide your own API key for the app to work properly.

  1. Get an API key by signing up on the OpenWeatherMap website.
  2. Open the script.js file.
  3. Replace '44fc76793279dbacff9b965bef7e7329' with your actual OpenWeatherMap API key in the fetch requests.

🀝 Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

πŸ“œ License

This project is licensed under the MIT License.