Tell us what’s happening:
i don’t indertand for loop can you explain me the solution
Your code so far
// User Editable Region
let iterator;
for(iterator=0;iterator<10;iterator++){
console.log("#")
}
// 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/127.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 33
construct a for
loop that includes the terms "iterator"
, "condition"
, and "iteration"
for the three components.
Try to follow the instructions word-for-word here as it guides you.
Don’t create let iterator;
variable since the instructions do not mention it. "iterator"
, "condition"
, and "iteration"
are just placeholders to use for now. Do it exactly like the example and like the instructions ask.
Keep the loop body, the section within the curly braces {}
, empty.
This part should be empty, don’t put console.log("#")
in there.