Continued


#1

Continuing the discussion from How do I fix this? Syntax Error:"{" expected HELP ASAP:

the close function that you addressed- so can you highlight which one is the open function for this??


#2

Here

All your else if statement should be inside the compare function and you should remove the ; after the else statement like that

}
} < == you should remove this one because it close the compare function here.
compare else if (choice1==="paper") 
{ 
if(choice2==="rock")
{return"paper wins";}
else; <== remove this ;
{return "scissors wins";}
}
}  < === you should close your compare function here.

And before your else if statement remove the compare you wrote