Augment Your Statshtml Page So That In Addition To Displaying

Augment your stats.html page so that, in addition to displaying the counts for each dice total, the page also represents the counts as percentages of the total number of rolls. To compute each percentage, you must divide the count by the total number of rolls, then multiply by 100. For example, if 162 out of 1,000 rolls were 2s, then that’s 16.2% of the rolls. For our purposes, it is sufficient to round percentages to the nearest integer value, so 162 out of 1000 would be displayed as 16%?

Posted in Uncategorized