Rock Paper Scissor Part 2


I am getting an error message. Can somebody help?

var userChoice=prompt("Do you choose rock,paper or scissor?");
var computerChoice=Math.random();

if("computerChoice" 0<=0.33){

else if("computerChoice" 0.34<=0.66){

else("computerChocie" 0.67<=1){


It would probably be helpful to all trying to help you if you post the error message as well in your post.


Here is the screen shot!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.