Learn Introductory JavaScript by Building a Pyramid Generator - Step 12

Tell us what’s happening:

I did what I was suppose to do, but I am getting the message my code is wrong.

Your code so far

let character = "Hello";

// User Editable Region

let profession="teacher"
let age;

console.log("Profession", profession);
console.log("Age", age);

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 12

Log both of your variables to the console to see the results.

The extra argument you added may be what is causing the tests to fail

thanks, I was doubled up.

so what was your final code

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.