Tell us what’s happening:
I do not understand how to solve this problem. how to do first component of my for loop string be “iterator”. what does it means?
Your code so far
const character = "#";
const count = 8;
// User Editable Region
const rows = [];
// 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 33
I think the explanation in the step is not very good so may I suggest reading about for loops here first:
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
If you want to solve the problem on your screen, you have to post your entire code to receive an assistant but, If you want to know more about iterator, I advice you read more about it here Iterator - JavaScript | MDN
2 Likes
thank you for your suggestion.
2 Likes
system
Closed
December 28, 2024, 10:30am
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.