@JacobRogers/

Game Dice

HTML, CSS, JS

a dice sim

fork
loading
Files
  • index.html
  • IMAGES
  • about.html
  • alphaanum.html
  • apple-touch-icon-114x114.png
  • apple-touch-icon-120x120.png
  • apple-touch-icon-144x144.png
  • apple-touch-icon-152x152.png
  • apple-touch-icon-57x57.png
  • apple-touch-icon-60x60.png
  • apple-touch-icon-72x72.png
  • apple-touch-icon-76x76.png
  • favicon-128.png
  • favicon-16x16.png
  • favicon-196x196.png
  • favicon-32x32.png
  • favicon-96x96.png
  • favicon.ico
  • index2.html
  • mstile-144x144.png
  • mstile-150x150.png
  • mstile-310x150.png
  • mstile-310x310.png
  • mstile-70x70.png
  • passwrdGen.html
  • randomLibrary.js
  • style.css
  • wurddie.html
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
	<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=300px">
		<link rel="apple-touch-icon-precomposed" sizes="57x57" href="apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="favicon-196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="favicon-128.png" sizes="128x128" />
<meta name="application-name" content="&nbsp;"/>
<meta name="msapplication-TileColor" content="#FFFFFF" />
<meta name="msapplication-TileImage" content="mstile-144x144.png" />
<meta name="msapplication-square70x70logo" content="mstile-70x70.png" />
<meta name="msapplication-square150x150logo" content="mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="mstile-310x310.png" />
    <title> Game Dice </title>
    <link href="style.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
		<script>
		window.onload=function(){
			console.log("Roll Log")
 			document.getElementById("number").innerText=genNum(1);
    	document.getElementById("numPick").min=1;
      document.getElementById("numPick").max=Number.MAX_VALUE;
    };
</script>
   <h1>Dice Simulator</h1>
		<p>Roll yer dice, ya mere mortal!!</p>
		<img src="IMAGES/dice.png"/>
    
		<p>The number is..</p>
		<p id="number"></p>
		
		<input type="number" id="numPick" min="1" max="1000" >
		 <Label># of sides</Label>
		</input>
		<p>
			
		</p>
		<image src="IMAGES/button.png" onclick="var num= dissolveExponentialNotation(genNum(document.getElementById('numPick').value));
		console.log(num);document.getElementById('number').innerText=num">
		</image>
		<p>Part of the SuddenSpanishLava progect</p>
		<a href="/wurddie.html">Go to word dice</a>
		<p>
		</p>
		<a href="/index2.html">Go to decimal version</a>
		<p>
		</p>
    <a href="/about.html">About Game Dice Sim</a>
		<p>
		</p>
	  <a href="/passwrdGen.html">Got to password gen</a>
		<p>
		</p>
		<a href="/alphaanum.html">Go to alphanumerical die</a>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/js-polyfills/0.1.42/polyfill.js"></script>
<script src="randomLibrary.js"></script>
  </body>
</html>
result
console