Learn Introductory JavaScript by Building a Pyramid Generator - Step 16

Tell us what’s happening:

So I fill like the code is right with the steps I’ve learned so far but it keeps saying log count+1 to the console. I’m very new to coding and maybe missing something easy.

Your code so far


// User Editable Region

let character = 'Hello';
let count = 8;
console.log=(count+1);


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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 16

There is no equal sign in a function call. So it should be console.log(something) not console.log=(something)

Thank you, i figured it out while waiting for this post to be approved. Im new to here and had to setup account.

1 Like

No worries! Welcome to the forum!