Hi all,

I’m struggling for the correct syntax in my function here. Visual Studio Code gives me “unexpected token ‘else’” and greys out the second result.

```
const compareGuesses = (userGuess, computerGuess, secretTarget) => {
if (Math.abs(userGuess - secretTarget) <= Math.abs(computerGuess - secretTarget)); {
return winner = 'human'
} else if (Math.abs(userGuess - secretTarget) >= Math.abs(computerGuess - secretTarget)); {
return winner = 'computer'
}
};
```

Please could someone point out where I’m going wrong? I can’t see it.