I just write the code as instructed but keeps saying there is an error
Your code so far
let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
// User Editable Region
rows.push("freeCodeCamp");
let pushed = 'rows.push("freeCodeCamp")';
console.log(pushed)
// 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/128.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 28
Assign your existing rows.push() to a new pushed variable, and log it.
I have shown you the existing rows.push that they are talking about in my previous comment.
So now it is up to you to follow this instruction or ask a follow up question if you don’t understand something that you’ve read.
You’ve typed out ‘rows.push(“freeCodeCamp”);’ when you didn’t need to. Reset then type only whats instructed infront of the ‘rows.push(“freeCodeCamp”);’ that is already there