A simple web application that shows the current weather and 5-day forecast for any city. The app also displays city photos and lets you save your favorite cities.
- Search for any city and view its weather
- 5-day forecast with temperatures and conditions
- Sunrise and sunset times
- Favorite cities list with expand/collapse details
- Background changes based on time (day/night) with clouds or stars
- City photos fetched automatically
- HTML
- CSS (including animations and gradients)
- JavaScript (ES6+)
- OpenWeatherMap API for weather data
- Wikipedia API for city images
- LocalStorage for saving favorite cities
- Open
index.htmlin your browser - Enter a city name and click 🔍︎ or press Enter
- View current weather and optionally 5-day forecast
- Click ★ to save the city to favorites
- Click the favorites button to see saved cities
If hosted on GitHub Pages:
https://milajovanovska.github.io/My_Weather_App/
This project is open source and free to use.