Computer Choice Part Two NEED HELP PLEASE


#1


I can't find ( before condition


SyntaxError: missing ( before condition
There was a problem with your syntax.


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


#2

Well first off, you need else if not if else. See what happens after you change that because I don't see any missing (


#3

correct.

Also missing a semi colon here and there!

good luck :slight_smile:


#4

Oh god! Thanks you for the answer!! I'm a bit clueless....
Where missing semi colon?:astonished:


#5

No problem! :smiley: Did that solve your problem? And do you need an explanation?


#6

yes yes!! Now i have a another problem with the next exercise but i need time because im not understand english very well:sweat:


#7

Ok well if you need to post in another language section don't hesitate.


#8