Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatyana-js committed Oct 18, 2023
1 parent 8a0e43a commit 1732dfa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ const game = (partGame, condition) => {
if (answerUser === String(answerCorrect)) {
console.log('Correct!');
} else {
console.log(`'${answerUser}' is wrong answer ;(. Correct answer was '${answerCorrect}'.`);
console.log(`Let's try again, ${userName}!`);
console.log(`'${answerUser}' is wrong answer ;(. Correct answer was '${answerCorrect}'.\nLet's try again, ${userName}!`);
return;
}
}
Expand Down

0 comments on commit 1732dfa

Please sign in to comment.