Rock, paper, scissors project. Help please

https://www.codecademy.com/journeys/front-end-engineer/paths/fecj-22-building-interactive-websites/tracks/fecj-22-javascript-syntax-part-i/modules/wdcp-22-learn-javascript-syntax-functions-0f6014dd-29e5-491d-9caa-87be9d5fd3dd/projects/rock-paper-scissors-javascript

Fellow coders, kindly help, I’m lost here, please.Preformatted text

const getUserChoice = (userInput) => {
userInput = userInput.toLowerCase();
if (userInput === ‘rock’ || userInput === ‘paper’ || userInput === ‘scissors’) {
return userInput
} else {
console.log(‘Error! Invalid input. Please choose either rock, paper or scissors.’);
}
}
console.log(getUserChoice(‘fork’));
console.log(getUserChoice(‘paper’));
const getComputerChoice = () => {
const rand = Math.floor(Math.random() * 3);
switch (rand) {
case 0:
return ‘rock’;
case 1:
return ‘paper’;
case 2:
return ‘scissors’;

}
}
console.log(getComputerChoice()); //Outputs either of the three.

//Determining the winner.
const determineWinner = (userChoice, computerChoice) => {
if (computerChoice === userChoice) {
return “It’s a tie!”;
}
if (userChoice === ‘rock’)
if (computerChoice === ‘paper’) {
return “The computer won!”;
}
else {
return “You won!”;
}
}
if (userChoice === ‘paper’) {
if (computerChoice === ‘scissors’) {
return “Computer wins! Scissors cut paper.”;
} else if (computerChoice === ‘rock’) {
return “User wins! Paper covers rock!”;
} else {
return “It’s a tie! Both chose paper.”;
}
} Preformatted text

You could put a { immediately after
if (computerChoice === 'rock')
(and then you’d need an additional } after the last } you have to end the function).

Thank you very much, I’m on it