Skip to content

Commit

Permalink
Grammar bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ExtF8 committed Jul 31, 2022
1 parent b1952ea commit 97c8047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function playRound(playerSelection) {
) {
playerScore++;
userScore.textContent = `${playerScore}`;
result.textContent = `You won #${roundCount} round.`;
result.textContent = `You won round #${roundCount}`;

if (playerScore == 5) {
result.textContent = `You WON! You got 5 points in ${roundCount} rounds!`;
Expand All @@ -107,7 +107,7 @@ function playRound(playerSelection) {
} else {
computerScore++;
compScore.textContent = `${computerScore}`;
result.textContent = `You lost #${roundCount} round.`;
result.textContent = `You lost round #${roundCount}`;

if (computerScore == 5) {
result.textContent = `You suck! You lost to a Computer in ${roundCount} rounds! Go and do something useful!`;
Expand Down

0 comments on commit 97c8047

Please sign in to comment.