I have successfully created the rock, paper, scissors lesson on Codecademy, but struggling on one last part.
As you can see in the image, the code runs without any errors, but it doesn’t seem to be processing my “getComputerChoice” function. I have also tested my code by giving the ComputerChoice’s answer myself, but it will always tell me I have won, no matter if I draw, lose or win.
I also can’t stop the full code from displaying on the console, which I am not sure on how to fix either.
Here is the GitHub link for my code: https://gist.github.com/cc3aa5929477650ebc79633efcdc7b1b
Any help is much appreciated.