Skip to content

webdev-desktop/Weather-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒฆ Weather App โ€“ Live Location Weather Tracker

๐Ÿš€ 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.


๐Ÿ“Œ Tech Stack

  • ๐Ÿงฑ HTML5
  • ๐ŸŽจ CSS3
  • โš™๏ธ JavaScript
  • ๐ŸŒ Weather API (OpenWeather)

โœจ Features

  • ๐Ÿ“ 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

๐Ÿš€ Key Highlights

  • ๐Ÿ“ 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

๐Ÿ“ธ Screenshots

Project Screenshot Project Screenshot


๐Ÿ› ๏ธ Installation

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

โ–ถ๏ธ Usage

  1. Allow location access ๐Ÿ“ (for live weather)
  2. Or search any city ๐Ÿ”
  3. View temperature, humidity, wind & pressure
  4. See dynamic UI based on weather ๐ŸŒฆ
  5. Check live time โฑ + last updated time
  6. Enjoy smooth animations ๐Ÿš€

๐Ÿ”ฎ Future Improvements

  • ๐ŸŒ™ Dark / Light mode toggle
  • ๐Ÿ“… 5-day weather forecast
  • ๐Ÿ“Š Weather charts (temperature trends)
  • ๐Ÿ”” Weather alerts system
  • ๐ŸŒ Multi-language support
  • ๐Ÿ“ Multiple saved locations

๐Ÿค Contribution

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-feature

Then open a Pull Request ๐Ÿš€


๐Ÿ‘จโ€๐Ÿ’ป Author

Apurv


๐Ÿ“„ License

This project is licensed under the MIT License.


โญ Support

If you like this project, donโ€™t forget to star โญ the repo and share it!

About

๐ŸŒฆ Responsive weather app with live location detection, dynamic UI, and real-time weather data using OpenWeather API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors