-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
58 lines (55 loc) · 1.62 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Roll the Dice Game</title>
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="game-header">
<div class="image-music">
<img id="image-music" src="img/music-on.png" alt="image music"
onclick="musicImageHandler()">
</div>
<div>
<h1>ROLL THE DICE</h1>
</div>
<div></div>
</div>
<div class="info">
<div>You<br>Selected<br><span id="text-user-selected">0</span></div>
<div class="image-dice">
<img id="dice" src="img/load.gif" alt="A dice image">
</div>
<div>Your<br>Score<br><span id="text-total-score">0</span></div>
</div>
<div id="h" class="text-level-3">
Dice will change in <span id="timeS">0</span> seconds
</div>
<div id="text-init-loading" class="text-level-1">
Loading
</div>
<div class="text-level-3">
Trial # <span id="text-ttrial-number">1</span>
</div>
<div id="result" class="text-level-2">Can you guess it?</div>
<div>
<div class="number">
<button>1</button>
<button>2</button>
<button>3</button>
</div>
<div class="number">
<button>4</button>
<button>5</button>
<button>6</button>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>