Pyramid Generator Lesson 20

Hello guys, back again lol.
Trying to do the javascript course now and I’m struggling with this step here

When I run the tests I receive these errors, yet my log looks correct if I’m reading whats supposed to be done correctly:

// running tests
You should use bracket notation on the rows array again.
You should log the rows array.
// tests completed
// console output
Naomi
10

Heres my code:

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

console.log(rows[0]);
console.log(rows[2]);

are you logging the whole array?

also, please, for next time,

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.

This was the solution thank you. Some how that just wasn’t clicking.

For future i will create a post from the lesson itself.

Solution thanks to ilenia:

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


console.log(rows[2]);
console.log(rows);

hi there!
it is great that you sloved your challenge. but posting full working code is not allowed here on the forum.