-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
30 lines (28 loc) · 1.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="css/main.css" />
</head>
<body>
<audio src = "res/sounds/rolldice.mp3" id = "rollDiceSound"></audio>
<div class = "gameScreen">
<header>
<div id = "title_box"> Predict the next value </div>
<div class = "high_score_board"> HighScore : <span id = "high_score_box">0</span> </div>
<div class = "score_board" >Score :<span id = "score_box">0</span></div>
</header>
<div id = "dice_box">
<img id = "dice_image" src = "res/images/dieRed1.png">
</div>
<div id = "button_ui">
<button id = "btn_high" onclick = "buttonPress(1)">HIGHER</button>
<button id = "btn_low" onclick = "buttonPress(0)">LOWER</button>
</div>
</div>
<script src = "js/main.js"></script>
</body>
</html>