-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (34 loc) · 1.01 KB
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Dice Game</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body onload="diceRoll()">
<div class="container">
<div class="header">
<h1>d6 Roller</h1>
</div>
<!-- place to tell the player what they rolled -->
<p>Roll the dice!</p>
<img class="d6" name="d6" />
</div>
<div class="container">
<button type="button" onclick="clickRoll()">
Roll Dice
</button>
</div>
<script
src="js/index.js"
type="text/javascript"
charset="utf-8"
async
defer
></script>
<footer>
<a href="https://github.com/ticet11/d6DiceRoller">See the code!</a> | © Brian Kozub, 2020
</footer>
</body>
</html>