-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (45 loc) · 1.35 KB
/
Copy pathindex.html
File metadata and controls
52 lines (45 loc) · 1.35 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
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<title>HjärnMatch</title>
<meta name="theme-color" content="#2F5D50">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="startScreen" class="screen active">
<div class="card center">
<h1>HjärnMatch</h1>
<p>1 minut fokusträning</p>
<button id="startBtn" class="primary full">Starta</button>
</div>
</div>
<div id="gameScreen" class="screen">
<div class="topbar">
<div id="roundText">Runda 1 av 20</div>
<div>Poäng <span id="score">0</span></div>
</div>
<div class="progress-container">
<div id="progressBar" class="progress-bar"></div>
</div>
<div class="game-area">
<div id="symbol" class="symbol"></div>
</div>
<div class="halves">
<div id="leftHalf" class="half left"><div class="choice-symbol">●</div></div>
<div id="rightHalf" class="half right"><div class="choice-symbol">■</div></div>
</div>
</div>
<div id="endScreen" class="screen">
<div class="card center result-card">
<h2 id="resultTitle"></h2>
<h1 id="finalScore"></h1>
<p id="averageTime" class="avg"></p>
<p id="bestTime"></p>
<button id="restartBtn" class="primary full">Spela igen</button>
</div>
</div>
<script src="game.js"></script>
</body>
</html>