Skip to content

Commit 21c20c2

Browse files
fix(curriculum): step 13 instructions incorrect (freeCodeCamp#55899)
1 parent ab17e9d commit 21c20c2

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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. Declare a `detectFullHouse` function that accepts a single argument. The function will be passed the `diceValuesArr` array when called.
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. Regardless, it should always 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

0 commit comments

Comments
 (0)