A simple weather forecast web app built using HTML, CSS, and JavaScript.
It fetches real-time weather data using the OpenWeatherMap API.
- Get current temperature, humidity, and wind speed
- Beautiful, responsive UI
- Weather icon changes based on conditions
- City name search
- Real-time updates via API
- HTML5
- CSS3
- JavaScript (Vanilla)
- OpenWeatherMap API
This app requires your own API key from OpenWeatherMap to work.
For security reasons, the key is not included in this repository.
- Sign up at OpenWeatherMap
- Go to your account > API keys and copy your API key
- In the root of this project, create a new file called
config.js - Paste the following code inside
config.js:
// config.js
const WEATHER_API_KEY = "your_api_key_here";
const apiURL = "https://api.openweathermap.org/data/2.5/weather?";
