Color coding on javascript (Rock Paper Scissors)

what is the color coding? I’m following along the learn javascript rock paper scissors video, and I just passed in:

console.log(determineWinner(‘rock’, ‘paper’));

the console printed the results correctly, though my second entry into the determineWinner function is the wrong color (orange as opposed to yellow)

why is this working? why is it the wrong color? where did i go wrong?

Hi,

If you’re basing your color expectation off a video I think the CC platform has changed their color scheme. In code, there’s no officially wrong color: that is, the code either works or it doesn’t (and if it works, there’s such a thing as readable and unreadable code as well).