Learn Introductory JavaScript by Building a Pyramid Generator - Step 24

Tell us what’s happening:

I don’t know what i am doing wrong and have tried many different ways and nothing is making any sense.

Your code so far

let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];

// User Editable Region

let cities = ["London","New York","Mumbai"];
console.log(cities[0])
cities[2] = Mexico City;
console.log(cities[0])

// User Editable Region

console.log(rows);

Your browser information:

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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 24

hi and welcome to the fourm.

Break up the instructions into smaller pieces and complete them one by one.
For eg. the first step was:

Start by declaring a cities variable and initializing it as an array of the strings "London" , "New York" , and "Mumbai" .

You seem to have done that successfully.

Then the next step:

log that variable to the console.

You have not done this yet. Look at the console, do you see what you are logging?
Is it the whole array?