-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
57 lines (53 loc) · 2.18 KB
/
index.html
File metadata and controls
57 lines (53 loc) · 2.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>Memory Matrix</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
</head>
<body>
<a class="github-link" href="https://github.com/arman-borkhani/memory-matrix" ><i class="fab fa-github"></i></a>
<div class="wrapper">
<div id="options" class="options">
<div class="title">Choose the Board</div>
<label class="radio-container">
3x3
<input type="radio" name="tiles-number" value="9">
<span class="checkmark"></span>
</label>
<label class="radio-container">
4x4
<input type="radio" name="tiles-number" checked="checked" value="16">
<span class="checkmark"></span>
</label>
<label class="radio-container">
5x5
<input type="radio" name="tiles-number" value="25">
<span class="checkmark"></span>
</label>
<button id="show-board" class="btn middle" onclick="options()" >Show Board</button>
</div>
<div id="board" class="slide middle">
<div class="matrix">
<div id="start" class="popup start"><p onclick="matrix()">START</p></div>
<div id="end" class="popup end">
<div class="end-content">
<p id="lose" class="end-msg">Game Over</p>
<p id="win" class="end-msg">You win!</p>
<i class="fas fa-redo button" onclick="continu()"></i>
</div>
</div>
</div>
<div class="matrix-info">
<div id="score" class="score">score : 0</div>
<div id="tiles" class="tiles"></div>
</div>
<button class="btn h-float-left" onclick="removeEl()" >Back to options</button>
</div>
</div>
<audio id="card-effect" src="sounds/button_click_type.ogg"></audio>
<script src="js.js"></script>
</body>
</html>