Learn Introductory JavaScript by Building a Pyramid Generator - Step 3

Tell us what’s happening:

let hello1 = ‘Hello’;
but it’s give me Sorry, your code does not pass

Your code so far


// User Editable Region

let hello1 = 'Hello';
var number_3 = 'Sachin';

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

Welcome to the forum!

Where does the second line come from? It’s not part of the task. You should pass if you remove it.

Sorry, your code does not pass. You’re getting there. after remove

Please share your updated code.

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