Learn Introductory JavaScript by Building a Pyramid Generator - Step 19

Tell us what’s happening:

No answer i give is correct, i’ve searched everywhere and still nothing works. PLEASE help

Your code so far

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

// User Editable Region

rows[rows.lenght-1] = 10;

// 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/17.3.1 Safari/605.1.15

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 19

You have a typo/mis-spelling

Where, may i ask? I’m probably just blind, but i can’t find it.

array.length returns the number of elements in the array.

Length.

Can often help to copy/paste any given keywords if you are troubleshooting :+1: although you should get used to typing them

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.