Question: Imagine that users of your stats.html page would like to perform repeated experiments with the dice simulator. It would greatly help these users if they
Imagine that users of your stats.html page would like to perform repeated experiments with the dice simulator. It would greatly help these users if they were able to reset the roll and doubles counts within the page. This can be accomplished by reloading the page, i.e., by clicking on the browser's reload button or reentering the page's address. However, a more elegant solution would be to add another button to the page labeled "Reset counters". When the user clicks this button, the values in the two text spans should be reset to 0. Add such a button to your page and verify that it behaves appropriately?
Step by Step Solution
3.55 Rating (166 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1409-C-S-O-S(1065).docx
120 KBs Word File
