Learn Introductory JavaScript by Building a Pyramid Generator - Step 13

Tell us what’s happening:

Can someone see what I’m doing wrong?
I just can’t see it myself.

// console output
teacher
undefined

Error message:
Sorry, your code does not pass. Hang in there.
You should log age to the console.

Your code so far

let character = "Hello";

// User Editable Region

let age;
let profession = "teacher";
console.log (profession);
console.log (age);

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 13

Welcome to the forum @garaphon

Please remove the white space before the ( in the console.log

Happy coding