Learn Introductory JavaScript by Building a Pyramid Generator - Step 60

Tell us what’s happening:

Stuck at this step, I’ve tried to look for answers on here but step 60 seems to be different, any guidance would be helpful, Thanks!
Step 60
Below the return statement, log the string “This works!” to the console.
After doing that, you will see that the string “This works!” does not display in the console, and the console.log(“This works!”) line is greyed out.
Copy the console log and paste it above the return statement. Now, the string “This works!” should appear in the console.

Your code so far

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


// User Editable Region

function padRow(name) {
  const test = "Testing";
  console.log("this works!");
  return test;
    console.log("this works!");
}


// 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; rv:127.0) Gecko/20100101 Firefox/127.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 60

confront the string you are asked to print (This works!), with the one you wrote (this works!)

Thanks, can’t believe it was such a simple oversight!!

same essu how to solve this

hi there
if you have a question about the curriculum challenge step, create your own topic using the Help button that apears below the challenge editor while you attempting worng code more than three times.