Rock Paper Scissors project

I am having trouble with Step 8 of this project. It is probably something silly that I am missing but I keep getting this error:

if (userChoice === ‘paper’) {

ReferenceError: userChoice is not defined
at Object.

I have completed two nested “If else” statements to start covering some of the possible scenarios that could arise. My first nested “If else” statement does not result in an error. However, when I include my second nested “If else” statement, I get the above error. I have pasted my code below:
Thanks for any help.

The problem is from determineWinner function. The last IF statement is out of the scope of the function. So, that Is why it’s giving error ReferenceError: userChoice is not defined.