Learn Modern JavaScript Methods By Building Football Team Cards - Step 26

I was told to add the map method to arr that will take in an empty callback function. Then, use the addition assignment += operator to assign the new array to playerCards.innerHTML this is my code so far can someone Please point out what is wrong with it

### Your code so far

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

Your browser information:

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

Challenge Information:

Learn Modern JavaScript Methods By Building Football Team Cards - Step 26

1 Like

You are assigning a value to playerCards.innerHTML, the receiver of a value is on the left-hand side of the assignment +=.

receiver += "Some value"
element.property += someArray.map(() => {})
1 Like

So yeah I did this myself, but it’s still failing, even though I think it should be correct.

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

Edit
After saving and reloading the page it works.