Learn Introductory JavaScript by Building a Pyramid Generator - Step 1

Tell us what’s happening:

i am declaring the variable correctly but still its showing code does not pass

Your code so far


// User Editable Region

let 
var a;

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 1

Keep it all on one line

Hi there! Follow the example:

let hello;

You have to declare a character variable using the keyword let

1 Like