Am not really getting what exactly they want me to do I have changed the variable but still the same error message
Your code so far
let character = 'Hello';
console.log(character);
character = "World";
let secondCharacter;
// User Editable Region
secondCharacter = "World";
// User Editable Region
console.log(secondCharacter);
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 11
secondCharacter assignment from "Test" to your character variable
This means that you need assign, the character variable to the secondCharacter variable. Not assign the value of the character variable, which is "World" to the secondCharacter variable.
What does this step really want for sure???I have tried everything possible but still it doesn’t pass
Your code so far
let character = 'Hello';
console.log(character);
character = "World";
let secondCharacter;
// User Editable Region
secondCharacter = "character";
// User Editable Region
console.log(secondCharacter);
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 11
@jonathanssengonzi2 Please do not create duplicate threads for the same challenge. I have merged your threads.
You can post your updated code in this thread. You do not need to create a new thread.
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.