Learn Introductory JavaScript by Building a Pyramid Generator - Step 10

Tell us what’s happening:

i do not determine what is excaxtly being instruct.

Your code so far

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

// User Editable Region

let secondCharacter;
Test = character;

// 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/126.0.0.0 Safari/537.36 Edg/126.0.0.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 10

change your secondCharacter assignment from "Test" to your character variable

Originally, we assigned the string "Test" to the variable secondCharacter:

secondCharacter = "Test";

Now, instead of assigning the string "Test", let’s assign the character variable to the variable secondCharacter

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.