Learn Basic JavaScript by Building a Role Playing Game - Step 81

Tell us what’s happening:

I cannot find the error, I think I’m missing something and i’ve looked at videos and stuff online and it’s the same thing. Please help me figure this out.

Your code so far

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

/* file: styles.css */

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

const weapons = [
  {
  name:"stick",
  power: 5
  },
  {
  name:"dagger",
  power: 30
  },
  {
  name:"claw hammer",
  power: 50
  },
  {
  name:"sword",
  power: 100
  },
];

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36

Challenge Information:

Learn Basic JavaScript by Building a Role Playing Game - Step 81

The code you have shared works on my end. Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or try another browser.

I ran this on chrome and it passes for me

I just deactivated my extensions, reloaded a couple times. Still didn’t work. I’m also on chrome and it’s just not working with me. I’ll try maybe a different browser.

have you tried resetting the step? you may have accidentally changed something else

I’ve done that yeah.

I was progressing well until I hit this step, I’m unsure of what’s causing it to act like that

I skipped the step entirely, I think it’s safe to say I passed it lol. Thanks for the help guys