๐ Live Demo: ๐ Live Demo
๐ A modern and responsive weather application that shows real-time weather data based on live location or searched city. Built to practice API integration, geo-location, and dynamic UI updates.
- ๐งฑ HTML5
- ๐จ CSS3
- โ๏ธ JavaScript
- ๐ Weather API (OpenWeather)
- ๐ Live location weather detection
- ๐ Search weather by city name
- ๐ก Real-time temperature, humidity, wind & pressure
- ๐ Live time + last updated time display
- ๐ง Dynamic weather UI (sun / cloud / rain / night)
- ๐จ Animated background effects
- โก Fast API-based data fetching
- ๐ฑ Fully responsive design
- ๐พ Last searched city saved (localStorage)
- โ Invalid city error handling
- ๐ Geo-location Support โ Detects userโs current location
- ๐ฆ Dynamic UI โ Changes background based on weather
- โฑ Live Clock โ Shows real-time + API update time
- ๐จ Modern UI โ Glass-morphism + smooth animations
- ๐ API Integration โ Async/await + Fetch API
- ๐พ LocalStorage โ Saves last searched city
- ๐ง Clean Code โ Structured & beginner-friendly
Follow these steps to run the project locally:
# 1. Clone the repository
git clone - https://github.com/webdev-desktop/Weather_Website.git
# 2. Go into the project folder
cd Weather_Website
# 3. Open index.html in your browser- Allow location access ๐ (for live weather)
- Or search any city ๐
- View temperature, humidity, wind & pressure
- See dynamic UI based on weather ๐ฆ
- Check live time โฑ + last updated time
- Enjoy smooth animations ๐
- ๐ Dark / Light mode toggle
- ๐ 5-day weather forecast
- ๐ Weather charts (temperature trends)
- ๐ Weather alerts system
- ๐ Multi-language support
- ๐ Multiple saved locations
Contributions are welcome!
# Fork the repo
# Create a new branch
git checkout -b feature/your-feature
# Commit changes
git commit -m "Add your feature"
# Push to branch
git push origin feature/your-featureThen open a Pull Request ๐
Apurv
This project is licensed under the MIT License.
If you like this project, donโt forget to star โญ the repo and share it!

