Learn Introductory JavaScript by Building a Pyramid Generator - Step 80

Tell us what’s happening:

Idk what to do here. I tried to make this step more that 1 hour and nothing changed. Also try in another browser so idk why here I can`t complete. Also try from this forum code with continueLoop and nothing. Can someone help pls

Your code so far

const character = "#";
const count = 8;
const rows = [];

function padRow(rowNumber, rowCount) {
  return " ".repeat(rowCount - rowNumber) + character.repeat(2 * rowNumber - 1) + " ".repeat(rowCount - rowNumber);
}

// TODO: use a different type of loop
/*for (let i = 1; i <= count; i++) {
  rows.push(padRow(i, count));
}*/


// User Editable Region

let condition = false;

if (condition === false) {
  console.log("Condition is true");
} else {
  console.log("Condition is false");
}

// User Editable Region


let result = ""

for (const row of rows) {
  result = result + "\n" + row;
}

console.log(result);

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 80

This is the starting code:

if (false) {
  console.log("Condition is true");
}

And this is the instruction:

Now the string is no longer printing, because false is not true. But what about other values?

Try changing the condition to the string "false".

You made a bunch of changes that don’t look like changing the boolean literal false to the string "false".