fetch-dogs.js
// fetch image from user selected breed
fetch image from user selected breed
fetch image from user selected breed
function selectedBreed(value) {
  const selected = value;
  const promise = fetch(`${DOG_API_URL}breed/${selected}/images/random`);
  loader.classList.remove('hidden');
  getDogImg(promise);
}
function selectedBreed ( value ) { const selected = value ; const promise = fetch ( ` ${ DOG_API_URL } ${ selected } ` ) ; loader . classList . remove ( 'hidden' ) ; getDogImg ( promise ) ; }
fetch image from user selected breed
fetch image from user selected breed