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

Tell us what’s happening:

I think its correct, why is it giving me problemmmmmms

Your code so far

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

/* file: styles.css */

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

  headCoach: {
    coachName: "Carlos Bilardo",
    matches: 7;
  },

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

Challenge Information:

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

Hi @brianreyfuentesvarga

In the console

SyntaxError: unknown: Unexpected token, expected “,” (20:14)
18 | headCoach: {
19 | coachName: “Carlos Bilardo”, >
20 | matches: 7; | ^
21 | },
22 |
23 | // User Editable Region

Also, in the editor there is red underlining under the semi colon.

Happy coding

I didn’t realize there shouldn’t be a semi colon there.

1 Like