public/js/game.js
//return breed name from the image that is displayed
return breed name from the image that is displayed
return breed name from the image that is displayed
function findBreedFromImage(url){
  urlArray = url.split("/");
  return urlArray[5]
}
function findBreedFromImage ( url ) { urlArray = url . split ( "/" ) ; return urlArray [ 5 ] }
return breed name from the image that is displayed
return breed name from the image that is displayed
//due to how url is structured, index 5 is always the name of the breed