Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Tell us what’s happening:

i cannot write in the console box like the code box I don’t know why. its not working kindly help me with that.

Your code so f


// User Editable



// 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/131.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Hi there and welcome to the forum!
Did you try it in another browser?

no, I have not. i don’t know why I can’t code

If I’m understanding your problem correctly, the console area is for your output. You write your code on the line below the instructions, just above the “Check your Code” button. You should see a blinking cursor there.

Hi @khushbakht9914, the console is only for showing the output, not for writing code. You need to write your code in the box below the instructions, right above the ‘Check your Code’ button. If it still doesn’t work, try opening it in a different browser.

How did you manage to get to step 2? Try using the same method, typing your code above the “Check Your Code” button