Learn Introductory JavaScript by Building a Pyramid Generator - Step 22

Tell us what’s happening:

i have tried all what i thought correct but nothing
please can someone help me

                                                                                                    JS

Your code so far

let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
console.log(rows[0]);

// User Editable Region



// User Editable Region

console.log(rows);

Your browser information:

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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 22

Hi there, I cannot see the code you tried?

please copy and paste the code here instead of taking a screenshot

let character = ‘Hello’;

let count = 8;

let rows = [“Naomi”, “Quincy”, “CamperChan”];
console.log(rows[0]);
rows[rows.lenght - 1]=10;
console.log(rows);

That’s a good try but you mispelled length

oh thanks
i ve been on it for a hole day

not still working for me

Hi there!

Create your own topic to the challenge step.

am new i dont know wat to do

Welcome to the forum @sam10

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.