Learn Introductory JavaScript by Building a Pyramid Generator - Step 6

Tell us what’s happening:

idk what to do here tried evrything

When a variable is declared with the let keyword, you can reassign (or change the value of) that variable later on. In this example, the value of programmer is changed from “Naomi” to “CamperChan”.

Example Code
Note that when reassigning a variable, you do not use the let keyword again.

After your console.log, assign the value “World” to your character variable.

Your code so far


// User Editable Region

let character = 'Hello';
character = "World";
character ="World";
operater = "World";

// 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/128.0.0.0 Safari/537.36 AVG/128.0.0.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 6

hi there, welcome to the forum.

For this step, you will need to click the Reset button first to restore the original code given in this challenge.
After that, find the console.log line of code and then below it, write the new character assignment that you were asked for.