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

Saturday, December 8, 2012

Codecademy: Codeyear I Need Input!


//sample solution


// Declare a variable "player" and ask the user to supply the string,
// "rock", "paper", or "scissors".
var player = prompt('Choose "rock", "paper", or "scissors":');

// Now print "player" to the console to test your code.
console.log("You picked "+player+".");

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts