w3schools – JavaScript while Loop
while (condition){
code block to be executed
}

do/while
do{
code to be executed}
while(condition);
exercises 1-5

w3schools – JavaScript Break and Continue

Break jumps out
continue Jumps Over

exercies 1-5

9,986:31 Left / 13:29 Done

Advertisements