Rock Paper Scissors first step...colors matter?

when I do const getUserChoice = userInput how come userIntent does not appear purple like in the walkthrough and in the hint? const getUserChoice is purple but that’s it.

For me userInput appears orange. does it matter?

and then when I do userInput = userInput.toLowerCase this whole line appears light blue?

Hello @tomernahumi123000125, welcome to the forums! As long as the code works as expected, then the highlighting shouldn’t be an issue.

.toLowerCase is a function, so it should have parentheses after it: .toLowerCase().
I hope this helps!

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.