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

Tell us what’s happening:

I’m applying the solution given in other posts but still unable to move forward

Object.freeze(myFavoriteFootballTeam)

this should work, but it is not. What am I doing wrong?

Your code so far

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

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

 Object.freeze(myFavoriteFootballTeam)

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0

Challenge Information:

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

if you have changed something outside the editable region that could be a reason of why it doesn’t pass


Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

it worked! thanks a lot!