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

Tell us what’s happening:

hello guys please help. Its saying "Your myFavoriteFootballTeam objects should have a sports property, except my property is there.

Your code so far

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

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

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

  }

};

// 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/132.0.0.0 Safari/537.36

Challenge Information:

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

Hi there!
You need

A new key called headCoach

not a new headCoach

Also don’t leave spaces here:

thank you i managed. there is one bothering me though. please help me with it, im posting it now

1 Like