Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Tell us what’s happening:

The output result write this word “Your declaration should end with a semicolon.” please explain

Your code so far


// User Editable Region

let cat;;
let character ='a';;
console.log("let hollo;");
console.log("a;");
console.log(" let &;") ;
console.log(".;");

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

for this exercise, you should click the Reset button because the code you added is incorrect.
The reset button will reset the step.
After that, you need to follow this one instruction given:

Use the let keyword to declare a variable called character .

This instruction is asking you to declare a variable called character. That is all you need to do and nothing else.