Learn Introductory JavaScript by Building a Pyramid Generator - Step 5

Tell us what’s happening:

use the character twice in your code

Your code so far


// User Editable Region

 let character = 'Hello';
console.log, World ("Character")


// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 5

Hi @fshff2008 !

Welcome to the forum!

It looks like you have some syntax issues.
I would suggest resetting your code

take a look at the example they gave you

let programmer = "Naomi";
programmer = "CamperChan";

this part here is where you can assign a new value to the existing programmer variable.

programmer = "CamperChan";

you need to do something similar but you should assign the value "World" to your character variable.

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