diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657e0c2c6a9d37705146f34d.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657e0c2c6a9d37705146f34d.md index cff3c0d46ad..ffe721cd340 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657e0c2c6a9d37705146f34d.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657e0c2c6a9d37705146f34d.md @@ -9,7 +9,7 @@ dashedName: step-13 If the user rolls three of one number, and two of another number, this is called a full house. You will need to declare a `detectFullHouse` function to check for this. -Your `detectFullHouse` function should check if the user has rolled three of one number and two of another number. If so, it should update the third radio button to display a score of `25`, with the correct attributes. If not, it should update the last radio button to display a score of 0, with the correct attributes.. +Your `detectFullHouse` function should check if the user has rolled three of one number and two of another number. If so, it should update the third radio button to display a score of `25`, with the correct attributes. If not, it should update the last radio button to display a score of 0, with the correct attributes. Don't forget to call your new function when the dice are rolled. @@ -21,7 +21,7 @@ You should have a `detectFullHouse` function. assert.isFunction(detectFullHouse); ``` -When a full house is rolled, your `detectFullHouse` function should enable the third radio button, set its value to `25`, and set the third span to display the text `, score = 25`. +When a full house is rolled, your `detectFullHouse` function should enable the third radio button, set its value to `25`, and set the third `span` to display the text `, score = 25`. ```js resetRadioOptions(); @@ -31,7 +31,7 @@ assert.strictEqual(scoreInputs[2].value, "25"); assert.strictEqual(scoreSpans[2].innerText, ", score = 25"); ``` -When a full house is not rolled, your `detectFullHouse` function should enable the final radio button, set its value to `0`, and set the final span to display the text `, score = 0`. +When a full house is not rolled, your `detectFullHouse` function should enable the final radio button, set its value to `0`, and set the final `span` to display the text `, score = 0`. ```js resetRadioOptions();