Rock Paper Scissors always says User wins but I can't figure out why

You must select a tag to post in this category. Please find the tag relating to the section of the course you are on E.g. loops, learn-compatibility

When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

Try to figure out what the data being passed around is.

Are the inputs for determineWinner() coming in properly? Then the problem is in that function. If not, the problem is at least earlier (if not also in the determineWinner() ).

console.log is a powerful tool here.

Welcome to the forums :slight_smile:

1 Like

Thanks. I’ll start checking that out.