Skip to content

Commit

Permalink
added images
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby-Leeder committed Oct 31, 2023
1 parent 9b14cdd commit 337bcf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/search/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function fetchData() {
artist.innerHTML = row.artists[0].name;
track.innerHTML = row.name;
const img = document.createElement("img");
img.src = row.artworkUrl100;
img.src = row.album.images[0].url;
image.appendChild(img);

const audio = document.createElement("audio");
Expand Down

0 comments on commit 337bcf6

Please sign in to comment.