Help with rock paper scissors game

I’m currently stuck on trying to get my game to compare the user input with the computers input and show it on the web page here is a link to my git hub.

One issue that jumps out is that you’re not returning anything from your computerplay() function. Since computerselection = computerplay() and you’re not returning anything from computerplay(), computerselection will always be undefined.
Try changing computerplay() so that it returns a value.