Quotes help make search much faster. Example: "Practice Makes Perfect"

Saturday, November 17, 2012

Codecademy: "Making Decisions (in Loops!)"


//sample solution

for(var i=100; i<=150; i++){
if(i%2 !== 0){
var square = i*i;
console.log(square);
} else {
console.log(i);
}
}

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts