Learn Introductory JavaScript by Building a Pyramid Generator - Step 10

Tell us what’s happening:

i barely understand what it said, maybe because my lack of english :). it said reassign the value of my secondCharacter variable from “Test” to the value of my Character variable which is “World”. I’ve done it many times but still wrong, and im not forgett my semicolon too.

Your code so far

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

// User Editable Region

secondCharacter = "World";

// 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

Welcome to our community!

Reassigning means that your ‘secondCharacter’ variable should have as a value, the ‘character’ variable. This way the value of the ‘character’ variable is assigned to the ‘secondCharacter’ variable.

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