text: function createMarkup(data) {
    return (`
          <img class="album-image" src="${data.images[0].url}" alt="${data.name}">
          <p class="album-title">${data.name}</p>
          <p class="album-artist">${data.artists[0].name}</p>
          <p class="album-counter">${data.tracks.total} Músicas</p>
    `);
  }
  
  export default function renderAlbumInfo(data, element) {
    element.innerHTML = createMarkup(data);
    return data;
  }
  