Skip to content

A simple and lightweight weather app built with HTML, CSS, and JavaScript, fetching real-time weather data using the OpenWeather.

Notifications You must be signed in to change notification settings

adarshupadhyay21/Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

This is a simple weather application that fetches weather data from the OpenWeather API.

Features

  • Displays current weather for a given city.
  • Fetches data from OpenWeather API in real-time.
  • Shows temperature, weather description, humidity, and wind speed.

Technologies Used

  • HTML, CSS, JavaScript
  • OpenWeather API

How to Run the App

  1. Clone the repository:
    git clone https://github.com/adarshupadhyay21/WebWeatherApp.git
  2. Open index.html in your browser.
  3. Enter a city name to get the current weather information.

Setup and Configuration

To use this app, you need an API key from OpenWeather. Follow these steps:

  1. Sign up at OpenWeather and get your API key.
  2. Add your API key to the JavaScript file:
    const apiKey = 'ENTER_Your_API_KEY';

Example API Call

https://api.openweathermap.org/data/2.5/weather?q=London&appid=YOUR_API_KEY

License

This project is licensed under the MIT License.

About

A simple and lightweight weather app built with HTML, CSS, and JavaScript, fetching real-time weather data using the OpenWeather.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published