11.Review


#1



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


SyntaxError: Unexpected end of input
Syntax Validator says: Unexpected end of input on the last line.
i don't understand what's the problem. please help.


// Write your code below!
var bb = true;
for(bb = 1; bb < 5; bb++){
    console.log("lallalalla")
    };
    console.log("hefksgfkg")
while(bb){
    bb = false;
    }
    do{
        console.log("kyhsdfg") 
     }


#2

Your brackets {} are a bit off.


#3

yeah that much i understood on validator. but how can i fix it? no brackets? that surely doesn't work.


#4

Your for loop is fine, not to sure about your while loop but the only major issue is your do loop.

Remember to create a do loop it has to have a while at the end that refers to the variable you are incrementing