Learn Introductory JavaScript by Building a Pyramid Generator - Step 12

Tell us what’s happening:

Hello guys can you please help me with this level:
Step 12

Before moving forward, you should take a moment to review the concepts you have learned.

Use the let keyword to declare a profession variable and an age variable. Initialize profession with the string “teacher”, but do not initialize age with any value.

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

Your code so far



// User Editable Region

let character = "profession";
let character = "age";
 "profession" = "teacher";


// User Editable Region

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 12

try to use the given variable names

Hii future developer,
As per question asked

MOD EDIT: Solution removed.

1 Like

oh that was a great help
thank youuuu my Friend

1 Like

Please do not post solutions on the forum. We should be offering guidance and suggestions to assist campers to find their own solutions.

1 Like

ok
i will take care next time.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.