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

Tell us what’s happening:

I get an unexpected token error. I believe my syntax is correct, but something is throwing the error. Please help me to fix the syntax.

Your code so far

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

/* file: styles.css */

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

const {myFavoriteFootballTeam.headCoach} = coachName;


// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

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

Hello! You just need to exchange the value and object in your destructuring syntax.

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.