β Live Weather Website π A clean and responsive live weather web app that shows real-time weather data for any city in the world using the OpenWeatherMap API. Enter a location and instantly get details like temperature, weather condition, humidity, wind speed, and more β beautifully presented with dynamic icons and background visuals.
π Features π Search by City Name
π‘οΈ Real-Time Temperature & Weather Info
π¨ Wind Speed & π§ Humidity
π Weather Icons & Backgrounds Based on Conditions
π± Fully Responsive Design
β‘ API Powered by OpenWeatherMap
πΈ Demo Try searching cities like London, Delhi, or Tokyo and watch real-time data appear instantly.
π οΈ Tech Stack Technology Usage HTML/CSS Structure and Styling JavaScript API Fetching & Logic OpenWeatherMap API Real-time weather data
π§ͺ How It Works User inputs a city name
App fetches weather data from OpenWeatherMap API
Parses and displays key metrics (temperature, condition, etc.)
Background and icons change dynamically based on the weather
π Project Structure pgsql Copy Edit π live-weather-app βββ index.html βββ style.css βββ script.js βββ assets/ β βββ demo-screenshot.png β βββ demo.gif βββ README.md π Getting Started Clone the repository
bash Copy Edit git clone https://github.com/your-username/live-weather-app.git cd live-weather-app Get your API key from OpenWeatherMap
Visit https://openweathermap.org/api
Sign up and get a free API key
Insert your API key in script.js:
js Copy Edit const apiKey = 'YOUR_API_KEY_HERE'; Open index.html in your browser or run with Live Server.
π¦ Dependencies None! Everything is vanilla HTML/CSS/JavaScript.
π TODO / Improvements π Auto-detect userβs location with geolocation
π¨ Add dark/light mode toggle
πΎ Store recent searches
ποΈ 5-day weather forecast
π€ Contributing Found a bug or want to add a new feature? Pull requests are welcome!
π License MIT License. Feel free to fork, use, and modify the project.
π¨βπ» Author Mukul Bassi π mukuldev.infy.uk π§ beingbassi007@gmail.com