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

Tell us what’s happening:

help me understand why is this code not going through ?
const myFavoriteFootballTeam = {
team: “Argentina”,
sport: “Football”,
year: 1986,
isWorldCupWinner: true,
headCoach = {},
};

Your code so far

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

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

const myFavoriteFootballTeam = {
  team: "Argentina",
  sport: "Football",
  year: 1986,
  isWorldCupWinner: true,
  headCoach = {},
};

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15

Challenge Information:

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

headCoach = {} that isn’t valid syntax, use the same syntax as you are for the other properties.

1 Like