A beautiful, minimal weather application with a glassmorphism UI built using HTML, CSS & JavaScript.
- 🔍 Search weather by any city name
- 🌡️ Real-time temperature, humidity & wind speed
- 🎨 Glassmorphism UI with custom sky background
- ⌨️ Press Enter to search — no click needed
- 📱 Fully responsive for mobile & desktop
- 🌦️ Dynamic weather icons from OpenWeatherMap
| Technology | Usage |
|---|---|
| HTML5 | Structure |
| CSS3 | Styling & Glassmorphism |
| JavaScript (ES6+) | Logic & API calls |
| OpenWeatherMap API | Live weather data |
git clone https://github.com/your-username/weather-app.git
cd weather-app- Go to openweathermap.org and create a free account
- Copy your API key from the dashboard
Open script.js and replace the placeholder:
const apiKey = "YOUR_API_KEY_HERE"; // 👈 Apna key yahan daaloPlace your background image in the project folder and make sure style.css has:
background: url('weather.jpg') center center / cover no-repeat fixed;Just open index.html in any browser — no server needed!
weather-app/
├── index.html # Main HTML file
├── style.css # All styling & glassmorphism design
├── script.js # Weather API logic
├── weather.jpg # Background image
└── README.md # You are here!
- User enters a city name in the search box
- App fetches live data from OpenWeatherMap API
- Temperature, humidity, wind speed & weather icon are displayed
- Error message shown if city is not found
Coming soon / Click here to view
This project is open source and available under the MIT License.
Made with ❤️ by Sumit Kumar
