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

Tell us what’s happening:

Hello guys,
I have tried to solve this for a while, but i dont know how…
Maby you can point me in the right direction?

i get " In your nickname case, you should call the setPlayerCards function. "
Please help me :).
Thank you.

Your code so far

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

/* file: styles.css */

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


  switch (e.target.value) {
  case "nickname":
    setPlayersCards(players.filter((player) => player.nickname !== null))
    
    }

// 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 39

i solved it! Sorry guys. i made a typo… smile: