I can't figure out what's wrong with my code


#1

I just can't figure out why I can't get any further. I've even copied this off of other examples I've seen on this forum but I still can't get any further on this. Any help would be appreciated.

Whoops! As soon as I wrote this down I saw my mistake. Thanks!

var userChoice = prompt("Do you choose rock, paper or scissors?");
var computerChoice = Math.random()
console.log (computerChoice)
if (computerChoice < .34) {
computerChoice = "rock";
} else if (computerChoice <= .67) {
computerChoice = "paper";
} else {
computerChoice "scissors"; }


#2

So is this complete? or do you still require assistance?


#3

You need a ; after Math.random() like: var computerChoice = Math.random();