Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Tell us what’s happening:

I have to declare a variable and I have already done that but still it’s showing that my code does not pass

Your code so far


// User Editable Region

let idnumber;

// 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/131.0.0.0 Safari/537.36 Edg/131.0.0.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Hi there! Please look at the insctructions carefully:

Use the let keyword to declare a variable called character .

Why did you name it idnumber?

okay got it, didn’t read it properly