11. Review


#1


https://www.codecademy.com/courses/javascript-beginner-en-ASGIv/2/4?curriculum_id=506324b3a7dffd00020bf661


// Write your code below!
for (var i=0; i<text.length; i++) {
    console.log(text(i));
}
};
console.log(text);


for (var fives = 5; fives < 26; fives += 5;) {
    console.log(fives);
}

var print = true;
while(print) {
    console.log("This is the second loop.");
print = false;

}

var printTwo = false;

do {
    console.log("This is ");
    console.log(printTwo);
    printTwo = false
}

while printTwo = true

It says "Oops, try again. There was a problem with your syntax."

I don't know what i'm doing wrong.

Someone Help!!!


#2

I left my comments above.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.