function displayResults(responseJson) {
  console.log(responseJson);
  let arrayOfImg = responseJson.message;
  let display = getImages(arrayOfImg); 

  //replace the existing image with the new one
  
  $('.results-img').html(display);
  
}
/**
 * Displays the image within a div
 */
Displays the image within a div
Displays the image within a div
function displayResults(responseJson) {
  console.log(responseJson);
  let arrayOfImg = responseJson.message;
  let display = getImages(arrayOfImg); 
  $('.results-img').html(display);
}
function displayResults ( responseJson ) { console . log ( responseJson ) ; let arrayOfImg = responseJson . message ; let display = getImages ( arrayOfImg ) ; $ ( '.results-img' ) . html ( display ) ; }
Displays the image within a div
Displays the image within a div
//replace the existing image with the new one