Loading, Errors & Geolocation
5 min read
Loading, Errors & Geolocation — Introduction
Loading, Errors & Geolocation
This module makes WeatherNow resilient to real-world conditions. Network requests take time, city names can be invalid, users can submit empty input, and browsers can deny location access.
The visual states are already prepared in the starter. Your job is to connect those states to the JavaScript request lifecycle and add a coordinate-based loading path that can be reused by the location button.
By the end: the app communicates clearly while working, failing, or waiting for permission.
Start here: complete the implementation lessons in order. Each lesson assumes the checkpoint from the previous lesson is working.