Closed Holl4444 closed 23 hours ago
'Your final score' currently reports randomNumber:
if (!playAgain) { alert(Game over. Your final score is ${randomNumber}.); }
Game over. Your final score is ${randomNumber}.
Replaced randomNumber variable with correct score variable in alert on line 23:
if (!playAgain) { alert(Game over. Your final score is ${score}.); }
Game over. Your final score is ${score}.
'Your final score' currently reports randomNumber:
if (!playAgain) { alert(
Game over. Your final score is ${randomNumber}.
); }