Tell us what’s happening:
You should assign arr.map()
to the playerCards.innerHTML
using the +=
operator
Your code so far
playerCards.innerHTML+=arr.map(() => {});
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Challenge Information:
Learn Modern JavaScript Methods by Building Football Team Cards - Step 25