See the Pen simpleWeather.demo.js v3.0.2 by Ryan Krater (@ryanwkrater) on CodePen.