Number Guesser project

This is my code but it is simply not working. can anyone help please?

let humanScore = 0;
let computerScore = 0;
let currentRoundNumber = 1;

// Write your code below:
const generateTarger = (randomNumber) => {
  return Math.floor(Math.random () * 9);
};
const compareGuesses = (humanChoice, computerGuess, targetNumber) => {
  if(Math.abs(humanChoice === computerGuess === targetNumber)) {
     return true;
     } else if (Math.abs(humanChoice - targetNumber))> (Maths.abs(computerGuess - targetNumber)) {
    return true;
  } else if (Math.abs(humanChoice -targetNumber)) < (Maths.abs(computerGuess - targetNumber)){
    return false;
  }
};
const updateScore = () => {
  if( winner === 'human') {
    humanScore+=1; 
  } else if (winner === 'computer') {
  computerScore+=1; 
  }
};

const advanceRound = () => {

  currentRoundNumber+=1;

};

updateScore ('human');

don’t know what codecademy does, but trying to run this code results in a syntax error on this line:

else if (Math.abs(humanChoice - targetNumber))> (Maths.abs(computerGuess - targetNumber))

this is currently your else if condition:

else if (Math.abs(humanChoice - targetNumber))