Skip to content

Commit 77662f8

Browse files
fix(curriculum): typos in building a Dice Game Step 13 (freeCodeCamp#55773)
1 parent d2c34bb commit 77662f8

File tree

1 file changed

+3
-3
lines changed
  • curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game

1 file changed

+3
-3
lines changed

curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657e0c2c6a9d37705146f34d.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dashedName: step-13
99

1010
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.
1111

12-
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..
12+
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.
1313

1414
Don't forget to call your new function when the dice are rolled.
1515

@@ -21,7 +21,7 @@ You should have a `detectFullHouse` function.
2121
assert.isFunction(detectFullHouse);
2222
```
2323

24-
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`.
24+
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`.
2525

2626
```js
2727
resetRadioOptions();
@@ -31,7 +31,7 @@ assert.strictEqual(scoreInputs[2].value, "25");
3131
assert.strictEqual(scoreSpans[2].innerText, ", score = 25");
3232
```
3333

34-
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`.
34+
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`.
3535

3636
```js
3737
resetRadioOptions();

0 commit comments

Comments
 (0)