Dice Roll

This is a small application I created for my Javascript class. When the page is loaded an alert will pop up showing the user what they rolled. When the alert is closed the page instructs the user to reload for another roll. The program is designed to roll a 1 half of the time and a random number the other half of the time.

Click to view code

Screen Shot 2015-12-30 at 1.52.09 PM Screen Shot 2015-12-30 at 1.52.13 PM Screen Shot 2015-12-30 at 1.53.56 PM Screen Shot 2015-12-30 at 1.54.08 PM