-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.html
More file actions
59 lines (53 loc) · 2.06 KB
/
home.html
File metadata and controls
59 lines (53 loc) · 2.06 KB
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
<!DOCTYPE html>
<html>
<head>
<!-- <meta name="viewport" content="width=device-width,initial-scale=1"> -->
<title>DICE.</title>
<link rel="stylesheet" href="./public/gridism.css">
<link type="text/css" rel="stylesheet" href="./public/style.css"/>
<script src="./public/dice_game.js"></script>
<link href='https://fonts.googleapis.com/css?family=VT323' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Teko:400,700' rel='stylesheet' type='text/css'>
</head>
<body onload="reset()">
<div class="grid">
<div class="unit whole">
<div class="unit whole">
<h1 id="headline" class="victory"><span class="victory-v">D</span>ICE GAME.</h1>
</div>
<div id="playersSection">
<div class="unit one-third" id="playerOne">
<h1><span id="playerOneName" onclick="enterNames()">Player One:</span> <span id='playerOneScore'></span></h1>
<br />
<img src="" class="dieImage" id="playerOneDie"/>
</div>
<div class="unit one-third" id="status">
READY.
</div>
<div class="unit one-third" id="playerTwo">
<h1><span id="playerTwoName" onclick="enterNames()">Player Two:</span> <span id='playerTwoScore'></span></h1>
<br />
<img src="" class="dieImage" id="playerTwoDie"/>
</div>
</div>
<div id="buttons" class="unit whole">
<div class="unit half">
<button class="button" id="playButton" onclick='compareNumber(drawNumber(), drawNumber())'>PLAY</button>
</div>
<div class="unit half">
<button class="button" id="reset" onclick='reset()'>RESET</button>
</div>
</div>
</div>
<footer>
<div class=".golden-small" id="hideFooter" onclick="toggleFooter()">
(more info...)
</div>
<div id="darkgrey" class="unit whole">
<a href="https://github.com/codebully/Dice-Game" target="_blank"><img src="./images/GitHub-Mark-64px.png" class="logo"/></a>
<a href="https://twitter.com/codebully" target="_blank"><img src="./images/Twitter_Logo_Blue.png" class="logo" /></a>
</div>
</footer>
</div>
</body>
</html>