Get current weather
Use demo mode for portfolio preview, or paste your own OpenWeather API key for live API data.
Asynchronous JavaScript Project
A clean front-end application that retrieves weather information, manages loading and error states, and renders results dynamically in the browser.
Use demo mode for portfolio preview, or paste your own OpenWeather API key for live API data.
This project turns a basic callback exercise into a portfolio-ready application with stronger UX, safer API-key handling, and clearer code organization.
Passes a display function into the data-fetching workflow and runs it once weather data is available.
Uses asynchronous requests to retrieve current weather data from OpenWeather when API mode is enabled.
Handles missing input, failed requests, invalid cities, and missing API keys with user-friendly messages.
Updates the interface dynamically with temperature, humidity, wind speed, and status indicators.