From e7fe9a9254cfee45c1d592f4512cdbdc19a1f281 Mon Sep 17 00:00:00 2001 From: "Felix W. Dekker" Date: Sat, 8 Jun 2019 03:57:10 +0200 Subject: [PATCH] Reformat and modernise code --- index.html | 459 ++++++++++++++++++++++++++--------------------------- 1 file changed, 227 insertions(+), 232 deletions(-) diff --git a/index.html b/index.html index 5b74fea..e396bfb 100644 --- a/index.html +++ b/index.html @@ -3,297 +3,292 @@ - - - - + + + + Dice probabilities | FWDekker - - + + - + -
-

Dice probabilities

-
-

Calculates the probability of throwing a value given a combination of dice.

-
+
+

Dice probabilities

+
+

Calculates the probability of throwing a value given a combination of dice.

+
- -
-
-
-
- - - - - - - - - - - - - -
Sides per dieNumber of throws
+ +
+
+ +
+ + + + + + + + + + + + + +
Sides per dieNumber of throws
+ +
- -
- -
-
+ +
+ +
+
- -

Probabilities

-
-
- -
-
-
+ +

Probabilities

+
+
+ +
+
+
+ + + - + doAfterLoad(() => document.getElementById("submit").click()); +