Learn Introductory JavaScript by Building a Pyramid Generator - Step 11

Tell us what’s happening:

Prease help, i don`t understand where is the mistake so far

Your code so far

let character = 'Hello';
console.log(character);
character = "World";
let secondCharacter;

// User Editable Region

let character = "World";
let secondCharacter = "Test";
character=secondCharacter;

// User Editable Region

console.log(secondCharacter);

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 11

Please click reset to get back the original code. After that, notice the instructions want you to remove the string test and replace it with a variable name instead.

Edit: don’t make any other changes to the code to pass the check but feel free to play with the code as much as you like then reset it again to pass. Also, don’t forget to add the log statement they requested and check the console.

Thank you for the answer! May you clarify pls, what`s the difference between string and variable name?

A string is whatever you see in double quotes or quotes or backticks.
A variable is the name of a block of memory that is declared usually with a let or a const or in a function as its parameter.

Thank you! But i think, i still have a mistake somewhere… :thinking: May you please write how it is supposed to look like

Please post the code in your reply so we can offer additional help.