← All work

[ Solo ] Completed

VanillaJS Weather App

A simple weather app using the OpenWeatherMap API and vanilla JavaScript.

What it is

A lightweight, client-side web application built with vanilla HTML, CSS, and JavaScript that fetches and displays real-time weather data for a user-specified city from the OpenWeatherMap API. It provides current temperature, weather conditions, humidity, and wind speed.

Decisions

Build log

  1. Set up the basic HTML structure for the search input and weather display card.
  2. Wrote the core JavaScript `fetch` logic to retrieve data from the OpenWeatherMap API.
  3. Implemented functions to parse the JSON response and dynamically update the DOM with weather details.
  4. Added error handling to manage invalid city inputs and API request failures gracefully.
  5. Styled the application with clean, simple CSS for a straightforward user experience.