Learn Introductory JavaScript by Building a Pyramid Generator - Step 55

Tell us what’s happening:

I reviewed it many times but I cant solve it can you please help me

Your code so far


// User Editable Region

const sum = 5; 10;
function addTwoNumbers(sum){
return sum;

console.log(sum);
}


 












// User Editable Region


const call = padRow("CamperChan");
console.log(call);


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

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/127.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 55

Hi there,

Please read this resource first then try this step again

4 Likes

I tried it but the log is the error this time

Thank You I just solved it a few min ago <3

1 Like

this was helpful! Thanks so much

1 Like

thank you for the link, it help

1 Like

pls can you help me out here
i am stuck here

Please create your own post with the help button in the step. This thread is now being spammed by us because we are replying about something not related to the original poster’s question.
Only respond to another thread if you are trying to help them answer their question.
Thanks.