What is wrong with the code? (Did it myself first, then followed up with tutorial, put some semicolon -- BUT the code doesn't run on Codecademy console)

Hello people!

I’m soo depressed with the Project (Javascript – Functions – Rock, Paper, Scissors)

First of all I followed the instruction from the left bar, run the code => mistake

Followed up with the tutorial (every single syntax, keyword, etc.) => the code still doesn’t run

Maybe you’ll check and see if something wrong. I have checked the code from my VS code where the console doesn’t show the latest message (Such as – You threw…, The computer threw…)

const getUserChoice = userInput => {
    userInput = userInput.toLowerCase();
    if (userInput === 'rock' || userInput === 'paper' || userInput === 'scissors') {
     return userInput;
      } else {
        console.log ('Error, try again please.');
      }
}
  
  
const getComputerChoice = () => {
    let randomNumber = Math.floor(Math.random() * 3) 
    switch (randomNumber) {
      case 0:
      return 'rock';
      case 1:
      return 'paper';
      case 2:
      return 'scissors';
    }
}
  
  
const determineWinner = (userChoice, computerChoice) => {
    if (userChoice === computerChoice) {
      return 'tie';
    } 
  
    if (userChoice === 'rock') {
      if (computerChoice === 'paper') {
        return 'Computer won';
    } else {
        return 'User won';
      } 
    }
  
    if (userChoice === 'paper') {
      if (computerChoice === 'scissors') {
        return 'Computer won';
      } else {
        return 'User won';
      }
    }
  
    if (userChoice === 'scissors') {
      if (computerChoice === 'rock') {
        return 'Computer won';
      } else {
        return 'User won';
      }
    }
}
  
  
const playGame = () => {
    const userChoice = getUserChoice ('paper');
    const computerChoice = getUserChoice();
    console.log (`You threw: ${userChoice}`);   
    console.log (`The computer threw: ${computerChoice}`); 
  
  console.log (determineWinner(userChoice, computerChoice));
};

playGame();```

Hi, @core2261643280 the ending is just as important as the beginning,
also, make sure your choices as correct.