2d6 Simulation

Example of simulating many rolls of a pair of 1d6 (six sided dice) using the random(min, max), and Math.floor(num) functions.
This program chooses and displays two random numbers, removes the decimal part of each number, and adds to two whole numbers to simulate rolling two dice for a sum that must be between 2 and 12. Finally, the program displays the total number of 2s, 3s, 4s, ..., and 12s that have been rolled since the page was reloaded.