Build a Rock, Paper, Scissors Game - Step 3

I just don’t know what I’m doing wrong here. The test keeps asking for the function to return a string!

Hello

Can you please post the url of the step you are on.

Photos/screenshots of an error can be helpful, but it also helps to provide the complete code. Posting the code helps us help you better!

When you enter a code, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Welcome to the forum @edugeselino

Try writing a function without using a parameter.

Happy coding

I get it!

This is the URL

Welcome to the forum @edugeselino,

What @Teller was trying to get you to notice is that when you make your function call, you pass the global options variable into the function as the opts parameter, but then inside the function you reference the global options variable rather than using the opts parameter. Make sense?

Happy coding!

try save the line 4 in a new variable and return that converted in string.