A little help here with numero 4


#1



I am getting an error message saying: unexpected tocken {.

I can not see where a { is out of line. please help


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


#2

Ho the console.log isn't a function so you should remove the { } you put before the if statement and after the else statement

console.log(computerChoice) {  <== remove this one 
    if (computerChoice<=0.33){
        computerChoice="rock";
}
    else if(computerChoice <.67){
        computerChoice="paper";
    }
    else {
        computerChoice="scissors";
    }
} <== this one too