Learn Asynchronous Programming by Building an fCC Forum Leaderboard - Step 62

Tell us what’s happening:

Step 62
Lastly, you will need to return the image for the user avatar.

Start by adding a return followed by a set of template literals. Inside the template literals, add an img element.

Inside the img element, add a src attribute with the value of ${userAvatarUrl}. For the alt attribute, add a value of ${user.name}.
return <img src="${userAvatarUrl}" alt="${user.name}"></img>

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

return `<img src="${userAvatarUrl}" alt="${user.name}"></img>`

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Challenge Information:

Learn Asynchronous Programming by Building an fCC Forum Leaderboard - Step 62

remmeber that img doesn’t need a closing tag