Learn Introductory JavaScript by Building a Pyramid Generator - Step 53

Tell us what’s happening:

Hi guys same again spot the mistake here,

Your code so far

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


// User Editable Region

function padRow(name) {
return "Hello!";
}

// User Editable Region

const call = padRow();
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/92.0.4515.131 Safari/537.36 Edg/92.0.902.67

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 53
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-introductory-javascript-by-building-a-pyramid-generator/step-53`Preformatted text`

The instructions: " Change your padRow function to return the name parameter directly."

Instead of "Hello!" you should return name (in other words, interchange the existing string with the given parameter).

I need an example as usual.

This is guidance.

The parameter that is passed to the function, should be returned.

Cheers! I left para…

Thanks for your help please reply to my latest post