Learn Introductory JavaScript by Building a Pyramid Generator - Step 14

Tell us what’s happening:

Step 14
Now that you have reviewed declaration and initialization, remove the code you wrote for your review.

Do not remove your character variable.

i cant answer this question

Your code so far


// User Editable Region

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

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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 14

Hi there. You need to remove code that you have in the challenge editor editable region.

you can’t declare a variable twice, remove the second let character