Learn Introductory JavaScript by Building a Pyramid Generator - Step 27

Tell us what’s happening:

I write the correct code base on question, and using the .pop() method but not being accepted. I can’t see what is incorrect.

Your code so far

let character = 'Hello';
let count = 8;

// User Editable Region

let rows = ["Naomi", "Quincy", "CamperChan"];
rows.push("freeCodeCamp");
console.log(rows);
let popped = rows.pop();
console.log (popped);


// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 27

hello and welcome to fcc forum :slight_smile:

  • typo, remove “space” before “parenthesis”

happy coding :slight_smile:

i think you should reset and do again sometimes error comes .

Thanks for your comment that is done.