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:
/home/ccuser/workspace/javascript_101_Unit_3/Unit_3/rockPaperScissors.js:38
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.