Step 14
Let's update the updateUI
function:
function updateUI(location, forecast) {
document.getElementById("name").innerText = location.LocalizedName;
document.getElementById("condition").innerText = forecast.WeatherText;
document.getElementById("temperature").innerText = forecast.Temperature.Imperial.Value;
}
Save the file and observe the changes: