A modern and interactive weather application that provides real-time weather updates, dynamic UI effects, live city suggestions, and detailed atmospheric insights for cities around the world.
- Search weather information for any city worldwide.
- Smart live search suggestions while typing city names.
- Fast API-based real-time data fetching.
The application changes its entire background dynamically according to weather conditions:
- ☀️ Sunny → Bright clear background
- 🌧️ Rainy → Rain-themed background
- ☁️ Cloudy → Cloud atmosphere
- 🌙 Night → Dark aesthetic background
- ❄️ Snow → Snowy visual theme
This creates a realistic and immersive weather experience.
Users can view:
- Temperature
- Humidity
- Pressure
- Wind Speed
- Weather Conditions
- Real-Time Forecast Data
- Beautiful loading spinner while API data is fetching
- Smooth transitions and animations
- All weather cards appear with delayed animation for premium UI feel
- Responsive modern layout
- Instant city suggestions while typing
- Future enhancement planned for recently searched cities
- Easy and clean user interaction
Fully responsive and optimized for:
- Desktop
- Laptop
- Tablet
- Mobile Devices
- HTML5
- CSS3
- JavaScript (Vanilla JS)
- Weather API
- Responsive Web Design
- CSS Animations & Transitions
- Dark modern interface
- Dynamic animated weather visuals
- Minimal and clean design
- Smooth card reveal animations
- Interactive user experience
- Recently searched city history
- 5-city quick access history section
- Hourly weather forecast
- 7-day weather forecast
- Better animations and visual effects
- Theme customization
WeatherSphere/
│
├── index.html
├── style.css
├── script.js
├── bl.jpg
├── cloudy.jpg
├── night.jpg
├── rainy.jpg
├── snow.jpg
├── sunny.jpg
├── thunderstorm.jpg
└── README.md- User enters a city name.
- App fetches real-time weather data using API.
- Matching city suggestions appear instantly.
- Weather information is displayed dynamically.
- Background changes according to weather condition.
- Smooth animations improve the user experience.
This project helped in understanding:
- API Integration
- DOM Manipulation
- Dynamic UI Rendering
- Asynchronous JavaScript
- Responsive Design
- Animation & Transitions
- Real-Time Data Handling
Unlike basic weather apps, this project focuses heavily on:
- Interactive UI
- Realistic weather experience
- Smooth animations
- Dynamic visual behavior
- User-friendly design
It combines functionality with modern frontend design principles.
Full-Stack Developer
Crafting modern and responsive web experiences.
If you like this project, consider giving it a ⭐ on GitHub.