Rock Paper Scissors 7/9


#1


Actually How come I'm wrong?!
Really don" know....
can anyone point me out where i wrong plz


#2

@kobychow,

You are forgetting a closing-curly-bracket-}
in line 24....to close the IF of line 23....

Please read
http://www.codecademy.com/forum_questions/559dcb4be39efe550f00006b
and concentrate on:

  • the creation of the compare function
  • the truth-table
  • the build of the IF ELSE-IF statement structure as part of the compare FUNCTION-BODY
  • the execution of the compare function (keeping in mind that the return statement is used )