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

Tell us what’s happening:

Task is to create players property with empty array.What is wrong?

Your code so far

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

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

  headCoach: {
    coachName: "Carlos Bilardo",
    matches: 7,
    players: []
  },


// User Editable Region
/* file: styles.css */

Your browser information:

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

Challenge Information:

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

Hi @zm17jaga

Below the headCoach property, create a new property with a key named players with the value of an empty array.

Your code placed players inside the headCoach property, not below it.

Happy coding