Learn Introductory JavaScript by Building a Pyramid Generator - Step 20

Tell us what’s happening:

my console log isnt working and i keep getting the msg that i have to log ‘rows’ to the console though i alr have. am i missing something?

Your code so far

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

// User Editable Region

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

// 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/125.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 20

Hello!

Remove the space between your console.log and your parenthesis. Once doing that your code should pass.

1 Like

You shouldn’t have a space before the parentheses in the console.log().

1 Like