Skip to content

allows user to enter city name and get the live weather details like temperature , humidity and wind speed that is fetched from an open source API

Notifications You must be signed in to change notification settings

ianand3977/Live_Weather_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Live Weather App

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.

image

Features

  • 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

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • OpenWeatherMap API

How to Use

  1. Clone the repository to your local machine:

    git clone https://github.com/ianand3977/Live_Weather_app.git
  2. Navigate to the project directory:

    cd Live_Weather_app
  3. Open index.html in your preferred browser.

  4. Enter the name of the city you want to check the weather for in the search box and click the search button.

API Key

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";

Contributing

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.

About

allows user to enter city name and get the live weather details like temperature , humidity and wind speed that is fetched from an open source API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published