Learn Introductory JavaScript by Building a Pyramid Generator - Step 17

Tell us what’s happening:

Hello,
Even though I entered the correct answer, the site does not allow me to advance to the next level. Did I do something wrong?
console.log (rows[0]);

Your code so far


// User Editable Region

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

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 17

Remove space between log and parentheses ()

2 Likes

Hello!

You have an unneseccary space in-between console.log and (rows[0]). Try removing that.

1 Like

Thank everyone, it works now :sweat_smile:

1 Like