A local weather checker made as an assignment for FreeCodeCamp.
An AJAX request gets a JSON response from ipapi containing the location data. Then another request gets a JSON response from OpenWeatherMap containing the weather data, with the location parameters passed to it. Register for free to get the required OpenWeatherMap app ID.
No live preview because of OpenWeatherMap API key.