Learn Introductory JavaScript by Building a Pyramid Generator - Step 6

Tell us what’s happening:

how?

Your code so far


// User Editable Region

let character = 'Hello';
console.log(character);
let programmer ="character";
programmer = "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/126.0.0.0 Safari/537.36 Edg/126.0.0.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 6

1 Like

you should reassign the variable , without creating a new variable

Welcome to the forum @fatihahduereh

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

You are using code given in the example.

Please remove that code, then assign the text to the variable mentioned in the instructions.

Make sure the first letter is upper case.

Happy coding

2 Likes