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

Tell us what’s happening:

What’s wrong here?

Your code so far

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

/* file: styles.css */

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

const [monsters] = [
  {
    name: "slime",
    level: 2,
    health: 15
  },
  {
    name: "fanged beast",
    level: 8,
    health: 60
  },
  {
    name: "dragon",
    level: 20,
    health: 300
  }

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0.1 Safari/605.1.15

Challenge Information:

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

what clue are you getting from the hints?
(what’s you’re best guess of what’s wrong based on that?)

Initiating variables and arrays I don’t necessarily need as that’s not needed otherwise apart from this I’ve managed to get everything else right. What do you think?

the instructions were:

define a monsters variable and assign it an array.

so let’s first figure out
1- how do we define a variable in JS?
const aVariable;
2- how do we define a variable that is an array in JS?
const anArray = [];

Now check your work? Do you notice any issues?