Friday, 27 June 2014

=== Build "Rock, Paper, Scissors ===
Tutorial 2#
User Choice:
Instructions:
  1. Declare a variable called userChoice.
  2. Make the variable equal to the answer we get by asking the user "Do you choose rock, paper or scissors?"
Code:
var userChoice = prompt("Do you choose rock, paper or scissors?");

No comments:

Post a Comment