Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Tell us what’s happening:

I cannot get passed step2 on javascript lesson 1, I have reset my entire progress losing all of my progress in html just trying to progress in the javascript lessons so I can learn and still the same error, “you declaration should end with a semicolon” despite the fact that it does end an semicolon

let character=“hello”;

Your code so far


// User Editable Region

let character="hello";

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

You should only declare your variable, do not initialize it.

what do not understand what you mean

Declaring a variable is writing it without assigning a value to it. For instance,

let myVar;

Initializing a variable is giving it a value. For instance.

let myVar = 43;

I got it thank you… now I am frustrated with myself!

It’s ok, you don’t have to worry. You’ll get it, keep pushing.