From e1db798992f76c2723682df95c6b58ce4fa94ec3 Mon Sep 17 00:00:00 2001 From: Akshit Date: Tue, 2 Jul 2024 01:33:38 +0530 Subject: [PATCH] fix(curriculum) fixed vague wording as specified in issue #55373 (#55379) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lasse Jørgensen <28780271+lasjorg@users.noreply.github.com> --- .../663d5697d80fef0eea026672.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/review-dom-manipulation-by-building-a-rock-paper-scissors-game/663d5697d80fef0eea026672.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/review-dom-manipulation-by-building-a-rock-paper-scissors-game/663d5697d80fef0eea026672.md index 43568984e75..0548fdbd964 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/review-dom-manipulation-by-building-a-rock-paper-scissors-game/663d5697d80fef0eea026672.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/review-dom-manipulation-by-building-a-rock-paper-scissors-game/663d5697d80fef0eea026672.md @@ -17,7 +17,7 @@ If there is a winner, you will want to show the `resetGameBtn` button and hide t **Tips** -- You can use the `el.style.display` property to show the `resetGameBtn` button and hide the `optionsContainer`. +Use the `style.display` property on an element, with the value `"block"` or `"none"`, to show or hide the element. # --hints-- @@ -33,6 +33,7 @@ if (playerScore === 3) { } else { assert.equal(winnerMsgElement.innerText, "Computer has won the game!"); } + ``` You should hide the `optionsContainer` and if the player or computer has reached three points.