Learn Introductory JavaScript by Building a Pyramid Generator - Step 60

Tell us what’s happening:

Output: . Your first console.log should come after your return keyword.
Your second console.log should come before your return keyword.

Your code so far

function padRow(name) {
const test = “Testing”;
console.log(‘This Works!’);
return test;
console.log(‘This Works!’);
}

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 60

Hi there!

The letter casing for the words should be exactly as in the challenge instructions.

3 Likes

Thanks! I just had to change it to double quotes. :smiley:

1 Like

Thanks the problem was in the ‘s’ letter

1 Like

thank you there was “!” sign missing

1 Like

Welcome to the Forum @iAmUsmanAwan
If you need help, make your own post within a topic, This one if from 2024.