Learn Introductory JavaScript by Building a Pyramid Generator - Step 1

Tell us what’s happening:

Hi Guys

Please assist me here, I am really new to code and am completely confused with this Java Script.
I have followed prompts and cues from previously asked questions to which people have stated that their code worked but when I apply the same, it does not work for me.
Please see below and tell and tell me what am i doing wrong here?

// User Editable Region

let character ;

// User Editable Region

Your code so far

console.log("Let's build a pyramid using JavaScript basics:");
console.log("    #    ");
console.log("   ###   ");
console.log("  #####  ");
console.log(" ####### ");
console.log("#########");

// User Editable Region

// User Editable Region

let character ;

// User Editable Region

// 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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 1

Hi there!
For the challenge step 1 you didn’t need to add any code. Reset your challenge and just click on Check your code button.

1 Like