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??



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") 
{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