Learn Introductory JavaScript by Building a Pyramid Generator - Step 13

Tell us what’s happening:

You should assign the string “teacher” to the profession variable.

Help​:tired_face::tired_face::tired_face:

Your code so far

let character = "Hello";

// User Editable Region

let profession = "teacher";
console.log(profession);
let age = ;
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/127.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 13

Hi there!
The variable age should be not assigned to anything. Only declare it with let keyword. You added assignment operator next to that.

Ohhhh, thanks a lot

It worked

1 Like