Learn Introductory JavaScript by Building a Pyramid Generator - Step 17

Tell us what’s happening:

The name prints in the console, but the code doesn’t pass? What am I doing wrong? Could not find any help on Google, FCC forum or StackOverflow on this step. Thanks in advance!

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 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 17

1 Like

Just needed to remove the space. * Figured it out in case anyone else gets stuck here. :slight_smile:

1 Like