Loop Help
StrategyGamesTe (0)

Exercise states to make a "For Loop" until "i" reaches 6

for(let i=0; i < 7; i++){
console.log(i)
}

It is marking this as wrong

You are viewing a single comment. View All
mwilki7 (152)

@StrategyGamesTe Does your answer look like

for( ; ; ){
}
for(let i=0; i < 7; i++){
console.log("This is i:",i)
}

or just what you've put above

for(let i=0; i < 7; i++){
console.log(i)
}