Learn Introductory JavaScript by Building a Pyramid Generator - Step 28

Tell us what’s happening:

Am I interpreting the directions incorrectly, or is this a bug? Yes, I have consulted internet-searching for issues related to this Step, also on freeCodeCamp as a matter of fact. I did not do the error of pushing twice unlike all of those people from those forum posts LOL.

Your code so far

let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];

// User Editable Region

let stupid = rows.push("freeCodeCamp");
console.log(stupid);

// User Editable Region

let popped = rows.pop();
console.log(popped);
console.log(rows);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.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.

The correct answer for this is actually literal

what they mean is actually this:
code removed by moderator

hi @Dannydcodewriter

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.