I followed everything right but yet its telling me to do something I have already done, task below that I have to do......................
Computer Choice: Part 1
If we declare a variable and make it equal to Math.random(), that variable will equal a number between 0 and 1.
- Under your previous code, declare a variable called computerChoice and make it equal to Math.random().
- Print out computerChoice so you can see how Math.random() works. This step isn't needed for the game - just useful for learning!
Your Math.random() code should look something like this:
var computerChoice = Math.random();
var userChoice = prompt ("Do you choose rock, paper or scissors?")
computerChoice = Math.random()
its telling me did I remember to log computerChoice on to the console?
What does that mean?