Learn Modern JavaScript Methods by Building Football Team Cards - Step 23

Tell us what’s happening:

Sorry, your code does not pass. You’re getting there.

You should call the .map() method on your arr parameter.

Your code so far

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

/* file: styles.css */

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

    layerCards.innerHTML = "";
    arr.map(() => {});
    playerCards.innerHTML += ``;
};


// 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/131.0.0.0 Safari/537.36

Challenge Information:

Learn Modern JavaScript Methods by Building Football Team Cards - Step 23

Hi there!

You have modified the seed code for the challenge step. Reset the challenge step and carefully read the instructions and try again.
Edit: you need to assign the arr map() to playersCard.innerHTML.
EXAMPLE

variable.innerHTML += el.map();