Tell us what’s happening:
I have looked at many help posts, looked at multiple videos on youtube, and I still can’t figure out what is wrong. I follow it step by step. I will open the template literals, simply open and close the div element, finally then I’ll add the class in the opening div… Yet it still won’t let me pass.
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
playerCards.innerHTML += arr.map(
({ name, position, number, isCaptain, nickname }) => {
`<div class="player-card"></div>`
}
);
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Challenge Information:
Learn Modern JavaScript Methods by Building Football Team Cards - Step 25