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