Learn Introductory JavaScript by Building a Pyramid Generator - Step 6

Tell us what’s happening:

It says that i should have character twice in my code but i already have 2 characters

Your code so far

let character = ‘Hello’;

character = “World”;


// User Editable Region

let character = 'Hello';
character = "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/133.0.0.0 Safari/537.36 OPR/118.0.0.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 6

hello and welcome to fcc forum :slight_smile:

  • there was a “console.log” in given code snippet for this step, you would need that

i would say restart this step and try again by adding this “reassignment” after “console.log” statement

happy coding :slight_smile: