function populateCityData(response) {
    $("#city-name")
      .text("" + response.name + " (" + moment().format("L") + ")")
      .append(
        $(
          '<img id="currentImage" src ="https://openweathermap.org/img/wn/' +
            response.weather[0].icon +
            '.png"/>'
        )
      );
    $("#temp").text(
      "Current Temp: " +
        Math.ceil(response.main.temp) +
        String.fromCharCode(176) +
        "F"
    );
    $("#responseLowTemp").text(
      Math.ceil(response.main.temp_min) + String.fromCharCode(176) + "F"
    );
    $("#responseHighTemp").text(
      Math.ceil(response.main.temp_max) + String.fromCharCode(176) + "F"
    );
    $("#responseFeelsLike").text(
      Math.ceil(response.main.feels_like) + String.fromCharCode(176) + "F"
    );
    $("#responseHumid").text(response.main.humidity + "%");
    $("#responseWindSpeed").text(response.wind.speed + " MPH");
    getUVIndex(response.coord.lat, response.coord.lon);
  }
//Function To Populate Search Data - Nests in each of the API functions
Function To Populate Search Data - Nests in each of the API functions
Function To Populate Search Data - Nests in each of the API functions
function populateCityData(response) {
    $("#city-name")
      .text("" + response.name + " (" + moment().format("L") + ")")
      .append(
        $(
          '<img id="currentImage" src ="https://openweathermap.org/img/wn/' +
            response.weather[0].icon +
            '.png"/>'
        )
      );
    $("#temp").text(
      "Current Temp: " +
        Math.ceil(response.main.temp) +
        String.fromCharCode(176) +
        "F"
    );
    $("#responseLowTemp").text(
      Math.ceil(response.main.temp_min) + String.fromCharCode(176) + "F"
    );
    $("#responseHighTemp").text(
      Math.ceil(response.main.temp_max) + String.fromCharCode(176) + "F"
    );
    $("#responseFeelsLike").text(
      Math.ceil(response.main.feels_like) + String.fromCharCode(176) + "F"
    );
    $("#responseHumid").text(response.main.humidity + "%");
    $("#responseWindSpeed").text(response.wind.speed + " MPH");
    getUVIndex(response.coord.lat, response.coord.lon);
  }
function populateCityData ( response ) { $ ( "#city-name" ) . text ( "" + response . name + " (" + moment ( ) . format ( "L" ) + ")" ) . append ( $ ( '<img id="currentImage" src ="https://openweathermap.org/img/wn/' + response . weather [ 0 ] . icon + '.png"/>' ) ) ; $ ( "#temp" ) . text ( "Current Temp: " + Math . ceil ( response . main . temp ) + String . fromCharCode ( 176 ) + "F" ) ; $ ( "#responseLowTemp" ) . text ( Math . ceil ( response . main . temp_min ) + String . fromCharCode ( 176 ) + "F" ) ; $ ( "#responseHighTemp" ) . text ( Math . ceil ( response . main . temp_max ) + String . fromCharCode ( 176 ) + "F" ) ; $ ( "#responseFeelsLike" ) . text ( Math . ceil ( response . main . feels_like ) + String . fromCharCode ( 176 ) + "F" ) ; $ ( "#responseHumid" ) . text ( response . main . humidity + "%" ) ; $ ( "#responseWindSpeed" ) . text ( response . wind . speed + " MPH" ) ; getUVIndex ( response . coord . lat , response . coord . lon ) ; }
Function To Populate Search Data - Nests in each of the API functions
Function To Populate Search Data - Nests in each of the API functions