A fun and customizable weather forecast application that uses the OpenβMeteo API to fetch weather data based on your entered location. Enjoy smooth GSAP animations and easily download the full JSON response! π
-
Location Information:
Displays latitude, longitude, timezone, and elevation (if available). π -
Current Weather:
Shows temperature, wind speed, weather code, and wind direction. π‘οΈπ¨ -
Hourly Forecast:
Displays the first 12 entries with time, temperature, wind speed, and wind direction. β°π‘οΈ -
Daily Forecast:
Shows the forecast date, maximum temperature, minimum temperature, and weather code. ππβοΈ -
JSON Download:
Download the complete JSON response from the OpenβMeteo API with one click! π₯ -
GSAP Animations:
Enjoy smooth animations for the header, form, data container, and download button for an enhanced user experience. π¬
-
Geocoding:
The app uses the Nominatim API to convert your location (city, state, or country) into geographic coordinates (latitude and longitude). π -
Fetching Weather Data:
With your coordinates, the app calls the OpenβMeteo API to retrieve current weather along with hourly and daily forecasts, including temperature data. π -
Rendering Data:
The app dynamically builds HTML tables to display:- Location Information
- Current Weather
- Hourly Forecast
- Daily Forecast
All shown with an easy-to-read layout. π
-
Animations:
GSAP adds smooth animations to page elements (header, form, data container, and download button) to create a lively, interactive experience. π« -
JSON Download:
The full JSON response is stored and linked to a download button, so you can download the complete weather data whenever you need it. π
- LinkedIn: kvsmanikanta