I have 2 questions.

**Q1>** I was able to make a guess, went to round 2. But after that, only “make a guess” is clickable, and I cannot clicked “next round” or get to round 3 onwards no mater how many times i make a guess. What’s wrong with my code?

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

**Q2>**Also, I don’t understand below solution. The instruction says " Return `true`

if the human player wins, and `false`

if the computer player wins. " But there is no true/false value in the below code. Can someone explain?

```
const compareGuesses = (humanGuess, computerGuess, targetGuess) => {
const humanDifference = Math.abs(targetGuess - humanGuess)
const computerDifference = Math.abs(targetGuess - computerGuess)
return humanDifference <= computerDifference;
}
```