A simple weather app that fetches and displays weather information for a specified city.
- ๐ Introduction
- โจ Features
- ๐ Demo
- ๐ Getting Started
- ๐ Usage
- ๐ API Key
- ๐ค Contributing
- ๐ License
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.
- ๐ 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.
You can view a live demo of the Weather App Here.
-
Clone the repository to your local machine:
git clone https://github.com/degala-prasanna/Weather-App.git
-
Navigate to the project directory:
cd Weather-App
-
Open the
index.html
file in your preferred web browser.
- Enter the name of a city in the search bar and submit the form.
- The app will display the current weather information for the specified city.
- Toggle between Celsius and Fahrenheit units by clicking on the respective unit buttons.
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.
- Get an API key by signing up on the OpenWeatherMap website.
- Open the
script.js
file. - Replace
'44fc76793279dbacff9b965bef7e7329'
with your actual OpenWeatherMap API key in thefetch
requests.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.