const getUserChoice = userInput => {
userInput = userInput.toLowerCase();
if (userInput === ‘rock’ || userInput === ‘paper’ || userInput === ‘scissors’) {
return userInput;
} else {
console.log(‘Error!’);
}
console.log(getUserChoice(‘Paper’));
console.log(getUserChoice(‘fork’));
};
not sure but for some reason whenever I write the code out the letters turn turquoise. I cant see what I’m doing wrong? or nothing happens when I run program to double check work ?