This is a simple and interactive weather web application that allows users to check the current weather for any city they enter.
Main features:
City search: Users can type the name of a city into an input box and get real-time weather data.
Weather data display: The app fetches temperature, humidity, and weather conditions using the OpenWeatherMap API.
Visual feedback: Weather conditions are displayed alongside an emoji representing the current weather (like ☁️, 🌧️, or 🌞).
Error handling: If the city name is invalid or there’s a problem fetching data, the app shows an error message.
Technical highlights:
Built using HTML, JavaScript, and a linked CSS file for styling.
Uses fetch to get data asynchronously from the OpenWeatherMap API.
Dynamic DOM updates so the page doesn’t reload when searching.
User-friendly layout with cards to display weather info.