Computer Choice part 2


#1


https://www.codecademy.com/courses/javascript-beginner-en-Bthev-mskY8/0/4?curriculum_id=506324b3a7dffd00020bf661#


oops! 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 && computerChoice <0.33){
computerChoice="rock";
}
else if
{
    (computerChoice >0.34 && computerChoice <0.66){
    computerChoice ="paper";
}
else
{
    computerChoice="scissors";
    
}
};

Please help me, not able to figure it out whats wrong


#2

else if
{ // remove it
(computerChoice >0.34 && computerChoice <0.66){

and

else
{
computerChoice="scissors";

}//remove it
};

@textplayer19036