-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (39 loc) · 1.44 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
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dice Game</title>
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
</head>
<body>
<main>
<button class="new_game_btn btn" id="new_game_btn"><i class="fa fa-plus" aria-hidden="true"></i>
New Game</button>
<input type="text" placeholder="Final score" class="final-score" id="final_score">
<div class="play_table">
<div class="player_1_zone">
<div class="player_1_name active">Player 1</div>
<div class="player_1_result">total</div>
<div class="player_1_current">current</div>
</div>
<img src="dice-5.png" alt="Dice" class="dice" id="dice-1" />
<img src="dice-5.png" alt="Dice" class="dice" id="dice-2" />
<div class="player_2_zone">
<div class="player_2_name">Player 2</div>
<div class="player_2_result">total</div>
<div class="player_2_current">current</div>
</div>
</div>
<div class="footer_button">
<button class="roll_btn btn" id="rollBtn"><i class="fa fa-refresh" aria-hidden="true"></i>
Roll Dice</button>
<button class="hold_btn btn" id="holdBtn"><i class="fa fa-archive" aria-hidden="true"></i>
</i>Hold</button>
</div>
</main>
<script type="text/javascript" src="script.js"></script>
</body>
</html>