This is a simple live weather app that allows users to check the current weather conditions for any city. The app uses the OpenWeatherMap API to fetch and display weather data.
- Search for a city's weather
- Display temperature, humidity, and wind speed
- Show appropriate weather icon based on current conditions
- Handle errors when the city is not found
- HTML
- CSS
- JavaScript
- OpenWeatherMap API
-
Clone the repository to your local machine:
git clone https://github.com/ianand3977/Live_Weather_app.git
-
Navigate to the project directory:
cd Live_Weather_app
-
Open
index.html
in your preferred browser. -
Enter the name of the city you want to check the weather for in the search box and click the search button.
The app uses the OpenWeatherMap API to fetch weather data. You need to get an API key from OpenWeatherMap and replace the apiKey
variable in the index.html
file with your own API key.
```javascript
const apiKey = "YOUR_API_KEY";
If you'd like to contribute to this project, please fork the repository and create a pull request with your changes.
Make sure to update the repository URL and any other specific information as needed. You can place this README.md
file in the root of your project directory.