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

Monday, December 3, 2012

Codecademy: Codeyear Matching a condition or doing something else


//sample solution


var yourName = "";
var result = "";
// use the > symbol to check the length of yourName
if (yourName.length > 0) {
   result = "Hi "+ yourName;
} else {
   result = "What is your name?"
};

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts