You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Complete the following tasks to finish this project.
45
45
46
46
## Create `setHiddenFields` function
47
47
48
-
Our application uses the `answer` hidden input to store the answer to the game. Our `setHiddenFields` method should not use any parameters, but needs to set the `awnser` hidden input to a randomly generated number between 0 and 9999.
48
+
Our application uses the `answer` hidden input to store the answer to the game. Our `setHiddenFields` method should not use any parameters, but needs to set the `anwser` hidden input to a randomly generated number between 0 and 9999.
49
49
50
50
Hint: `Math.round()` can be used to randomly generate a number between 0 and 1 (up to 18 decimal points) and `Math.floor(input)`, `Math.ceiling(input)`, or `Math.round(input)` to round.
0 commit comments