mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): correct 'it's' to 'its' in RPS workshop step 12 (#60275)
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ If you try to play the game, you will see that you can play for an infinite amou
|
||||
|
||||
In your `showResults` function, if the player has reached three points, update the `winnerMsgElement` to `"Player has won the game!"`. If the computer has reached three points, update the `winnerMsgElement` to `"Computer has won the game!"`.
|
||||
|
||||
If there is a winner, show the `resetGameBtn` button by settings it's `display` to `block` and hide the `optionsContainer` by setting it's `display` to `none`.
|
||||
If there is a winner, show the `resetGameBtn` button by setting its `display` to `block` and hide the `optionsContainer` by setting its `display` to `none`.
|
||||
|
||||
Now, try to play the game and see if the winner message is displayed when a player reaches three points.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user