Computer Choice Part 2


Keep running into this syntax error and can't figure out where I'm wrong. I thought it must be about the placement of ";"s but I've tried a few different and made no progress.
Thanks for any help,

SyntaxError: Expected ';'

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


You are missing 2 semi colons. You also have an extra set of {} braces.


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