Tell us what’s happening:
I have tried using row + result in this exercise. Not finding the solution.
Your code so far
const character = "#";
const count = 8;
const rows = [];
for (let i = 0; i < count; i = i + 1) {
rows.push(i);
}
let result = ""
// User Editable Region
for (const row of rows) {
}
// User Editable Region
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/137.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 42
Please show the code you tried
for (const row + result of rows) {
}
In your for…of loop, use the addition operator to concatenate the row value to the result value.
I’m not sure why you put the change where you did? Can you explain your thinking?
I don’t understand at all
Ok. But can you say why you typed where you did?
That’s a new error so I don’t understand what in the instructions made you think that was what the instructions wanted.
The concatenation operator is +
But why did you put the + where you typed it?
I don’t see anything telling you to change the head of the loop. The inside of the loop usually means a different part of the loop.
So you just looked for the word row and put the + next to it?
I would not do that.
Inside of the loop usually means inside of the loop body. Do you know what part of the loop is the body?
Yes, the one within brackets. I had although no idea body meant that. But can you show me how to do that? I don’t understand the particular syntax.
I cannot write the answer for you.
Can you try using the example to write what the instructions ask for inside of the { }
Please tell me
This is a place to get help. It says you can ask here.
I would be happy to help, but writing the answers for you is not helping.
Can you please try to use the example to try write a what the instructions ask you to put in the function body and show me what it looks like when you try that?
Yes, you can tell me. She said 42. What I’d do is
for (const row of rows) {
row + result;
}
I made it. Sorry about the confusion. 
It really, actually is against the forum rules to write answers for you.
The code you wrote is close but doesn’t follow the example exactly. I’m glad you you saw where it was off. Nice work