A modern, responsive weather forecasting app built with HTML, CSS, and JavaScript β featuring live time zones, dynamic themes, and smooth UI animations.
** π Search Any City Worldwide **
Instant weather search using OpenWeather API
- Displays:
-
Temperature
-
Weather description
-
Humidity
-
Wind speed
-
π Live Time Tracking
-
Shows your local time when the page loads
-
Shows live local time of the searched city
-
Updates every second
-
π¨ Dynamic Background Themes
-
Weather affects the background:
- βοΈ Cloudy Dark grey
- π§οΈ Rainy Sky blue
- βοΈ Clear Soft yellow
- βοΈ Snowy Clean white
- β‘ Thunderstorm Dramatic orange
- π« Smooth Animations
-
Fade-in results
-
Loading blinker
-
Clean button hover effects
-
π Ultra Smart Description Formatter
-
Beautifully formats complex weather text like:
-
heavy-intensity rain
-
sleet & hail
-
rain/snow mix
-
light rain (drizzle)
-
storm: high-intensity
- HTML5 Structure
- CSS3 Styling, layout, animations
- JavaScript (ES6+) Logic, API integration
- OpenWeather API Weather data retrieval
- SVG Icons UI clarity
- Responsive Web Design Mobile-friendliness
π Deployed on Netlify
π Project Structure weather-app/ β βββ index.html βββ style.css βββ script.js βββ icons/ βββ github.svg βββ linkedin.svg
1οΈβ£ Clone the repository
git clone https://github.com/obithelight/weather-app.git
2οΈβ£ Enter the project directory
cd weather-app
3οΈβ£ Run the app Simply open:
index.html
No dependencies needed.
Get your free API key from OpenWeather:
https://openweathermap.org/api
Replace the key in script.js:
const apiKey = "YOUR_API_KEY";
Works beautifully on:
-
π₯οΈ Desktop
-
π» Laptop
-
π² Tablet
-
π± Mobile
- Kenneth Onu
-
OpenWeather
-
JavaScript community
-
Inspiration from modern weather UIs
- This project is licensed under the MIT License.
Β© 2025 Weather App β’ All Rights Reserved.