Link to the exercise: https://www.codecademy.com/practice/projects/number-guesser-independent-practice

I keep getting error messages and don’t yet know how to run the program. Can anyone see where i made the crucial mistake? I checked with the other posts about this exercise.

Thanks in advance! This is my code so far:

```
let humanScore = 0;
let computerScore = 0;
let currentRoundNumber = 1;
// Write your code below:
function generateTarget = () => {
return Math.floor(Math.random()* 10);
}
function compareGuesses (humanGuess, computerGuess, generateTarget) => {
if (Math.abs(humanGuess - generateTarget) > Math.abs(computerGuess - generateTarget)){
return false
} else if (Math.abs(humanGuess - generateTarget) < Math.abs(computerGuess - generateTarget)){
return true
} else { return true }
};
const updateScore = winner => {
if (winner === "human") {
humanScore ++;
} else if (winner ==="computer") {
computerScore ++;
}
};
const advanceRound = () => {
currentRoundNumber++;
}
```