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

Tell us what’s happening:

I have assumed that the destructuring assignment should be done as the previous, where it is added as a const there are no other help forum posts on this so it would be nice to start a new chain im proposing

Your code so far

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

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


const { sport, team } = myFavoriteFootballTeam;
const { year, 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/131.0.0.0 Safari/537.36

Challenge Information:

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

Add them into the existing const not as a new const

when you use const there should always be the assignment operator. But as these are also properties of myFavoriteFootballTeam, you can add the destructuring of these properties to the previous line, instead of having = myFavoriteFootballTeam twice

Thank you, I forgot to mark my previous comment as the answer. But im sure the next person would love that there is now an explanation