A stylish and responsive Weather Web Application that shows real-time weather information for any city in the world. Built with HTML, CSS, and JavaScript, the app features smooth animations, glassmorphism design, and dynamic theme switching.
β¨ Features π Search weather by city name
π‘οΈ Real-time temperature in Celsius
π§ Humidity level display
βοΈ Weather condition with live icon
π¨ Multiple background themes
β¨οΈ Press Enter key to search instantly
π Modern Glassmorphism UI
π± Fully responsive (Mobile + Desktop)
π¨ Theme Options Users can switch between beautiful gradient themes:
Ocean
Sunset
Midnight
Neon
Mint
π οΈ Technologies Used HTML5 β Structure
CSS3 β Styling, animations, glass effect
JavaScript (Fetch API) β API requests and dynamic updates
WeatherAPI β Live weather data source
π API Information This project uses the WeatherAPI service to fetch live weather data.
If you want to use your own API key:
Go to: https://www.weatherapi.com/
Create a free account
Replace the API key inside the JavaScript code:
const apiKey = "YOUR_API_KEY_HERE"; πΈ Preview The app displays:
City & Country
Weather Icon
Temperature
Humidity
Weather Description
All inside a modern animated weather card.
π± Responsive Design The layout adapts smoothly to:
β Mobile phones β Tablets β Laptops & Desktops
π‘ Learning Highlights This project demonstrates:
Working with real-time APIs
Using async/await with Fetch
DOM manipulation
CSS animations and glassmorphism effects
Responsive UI design
π License This project is open-source and free to use for learning purposes.