Website Logo img

Weather App

Fetch real-time weather for any city using an API (OpenWeatherMap).

Enter a city and press Search.
How it works (short)

script.js constructs the API URL, retrieves the current weather data in JSON, extracts key details, and updates the DOM. It leverages async/await for asynchronous operations, includes error handling, and formats time values using the API’s timezone offset.