Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Tell us what’s happening:

it won’t let me go to another level, please help.

Your code so far


// User Editable Region

let character;

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Hi and welcome to the forum!

This step is trying to teach you about variable assignment. This is when you tell the computer to remember the value of something. They give an example in the step:

let hello = "Hello";

This example is a variable called hello which is being assigned a value which is a string “Hello”.

You should examine the example to understand how it is put together and then attempt something similar to it with the character variable.

Not sure if this helps you as you didn’t say what you were struggling with exactly so I tried to guess.