Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Tell us what’s happening:

I wrote :
let index = “a”;
But getting error in the test: “You should use character in your code.”

Your code so far


// User Editable Region

let a = '';

// 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 2

1 Like

Welcome to the forum @dawimex

Use the let keyword to declare a variable called character .

You do not need to assign the variable to anything at the moment.

Happy coding

the test is not passing even when i say let test;