Learn Introductory JavaScript by Building a Pyramid Generator - Step 68

Tell us what’s happening:

I don’t know what I need to add in the " " sections. I’m not even sure I put them in the right place.

Your code so far

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


// User Editable Region

function padRow(rowNumber, rowCount) {
  return "rowNumber + rowCount" character.repeat(rowNumber) + "rowNumber + rowCount";

}


// User Editable Region


for (let i = 0; i < count; i = i + 1) {
  rows.push(padRow(i + 1, count));
}

let result = ""

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

console.log(result);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 OPR/109.0.0.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 68

i think you should click reset and look at the instructions again.

They want you to add a single space to the left side and a single space to the right side of the repeated character.
They also showed you a reminder of how to add a space to something:

Remember that you can use the + operator to concatenate strings like this:

Example Code
" " + "string"

here a single space is added to the left of the word “string”

So since they want you to add a single space to the left of the repeated character, how would you do it?
How about the right side? How would it work there?