A lightweight and responsive web app that displays real-time weather updates for any city, using the Open-Meteo API.
- 🌍 Search weather by city name
- 📍 Real-time temperature, weather condition, and timezone
- ⚡ Instant feedback with loading states and error handling
- 🔍 Built using vanilla JavaScript and modern browser APIs
This app uses two public APIs:
- Geocoding API – to convert city names into geographic coordinates (lat/lon)
- Weather Forecast API – to fetch current weather data using those coordinates
No API key needed. It's 100% free and open.
- HTML, CSS, JavaScript
- Open-Meteo APIs
To run it locally:
# Clone the repository
git clone https://github.com/cocoisarobo/weather-app.git
# Open the index.html file in your browser
