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

Monday, December 3, 2012

Codecademy Codeyear Roll call


//sample solution


// 1. prompt for name
var runner = prompt("What is your name?");
// 2. write condition to ensure runner is not empty
if(runner.length>0){
console.log("Welcome to the Olympic tryouts, " + runner);
} else {
console.log("Name cannot be blank.");
}

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts