A simple Weather Application built using HTML, CSS, and JavaScript.
The app allows users to search for any city and view real-time weather information.
- Search weather by city name
- Displays temperature in Celsius
- Shows humidity and wind speed
- Dynamic weather icons based on conditions
- Error handling for invalid city names
- Simple and clean user interface
- HTML
- CSS
- JavaScript
- OpenWeatherMap API
-
Clone the repository
git clone https://github.com/devesh-kahar/weather-app.git -
Open the project folder
-
Create a file named
config.js -
Add your OpenWeather API key inside it
const apiKey = "YOUR_API_KEY_HERE"; -
Open
index.htmlin your browser
The API key is not included in this repository for security reasons.
You need to generate your own API key from OpenWeatherMap.
Devesh Kahar