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

Tell us what’s happening:

I do not understand where im wrong, i copied the last one with forward and it still does not work

Your code so far

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

/* file: styles.css */

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

  case "midfielder":
setPlayerCards(players.filter((player) => player.position === "midfielder");
 break;

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

Never mind i forgot a parenthesis

1 Like