Set location (city, country) via getLocation().
As a part of getLocation()'s callback, retrieve JSON weather data from Open Weather Map via getWeather().
As a part of getWeather()'s callback, copy the JSON into a variable.
The code runs until the $.getJSON method of getWeather(), then stops. I’m unable to determine why this is the case, given that the URL is good and that it nets a callback when entered manually. I haven’t been able to get a single successful API call from Open Weather Map despite trying the crossorigin and heroku workarounds.