Learn Introductory JavaScript by Building a Pyramid Generator - Step 19

Tell us what’s happening:

Why
The first element in your array should be the string “Naomi”. THis is being shown every time

Your code so far


// User Editable Region

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

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 19

hi there!

because you changed the array name from rows to array.

starting code:

let rows = [];
1 Like

Thanks dear stranger

your welcome. Happy Coding.

1 Like