-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
115 lines (108 loc) · 4.17 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#fff">
<title>Memory Game</title>
<link rel="stylesheet" href="./css/main.css">
<script src="https://kit.fontawesome.com/885fbd8d84.js" crossorigin="anonymous"></script>
</head>
<body>
<header>
<a href="/">Memory Game</a>
</header>
<article class="container">
<section class="tracker">
<div class="stars">
<i class="fas fa-star star"></i>
<i class="fas fa-star star"></i>
<i class="fas fa-star star"></i>
<i class="fas fa-star star"></i>
<i class="fas fa-star star"></i>
</div>
<div class="moves">
<p>Moves: 0</p>
</div>
<div class="time">
<p>Time: 00:00</p>
</div>
<button class="restart" onclick="restartGame()">
<i class="fas fa-redo"></i>
</button>
</section>
<ul class="deck">
<li class="holder">
<div class="card" data-name="lemon"><i class="fas fa-lemon"></i></div>
</li>
<li class="holder">
<div class="card" data-name="candy"><i class="fas fa-candy-cane"></i></div>
</li>
<li class="holder">
<div class="card" data-name="carrot"><i class="fas fa-carrot"></i></div>
</li>
<li class="holder">
<div class="card" data-name="hotdog"><i class="fas fa-hotdog"></i></div>
</li>
<li class="holder">
<div class="card" data-name="hamburger"><i class="fas fa-hamburger"></i></div>
</li>
<li class="holder">
<div class="card" data-name="cookie"><i class="fas fa-cookie"></i></div>
</li>
<li class="holder">
<div class="card" data-name="pizza"><i class="fas fa-pizza-slice"></i></div>
</li>
<li class="holder">
<div class="card" data-name="apple"><i class="fas fa-apple-alt"></i></div>
</li>
<li class="holder">
<div class="card" data-name="lemon"><i class="fas fa-lemon"></i></div>
</li>
<li class="holder">
<div class="card" data-name="candy"><i class="fas fa-candy-cane"></i></div>
</li>
<li class="holder">
<div class="card" data-name="carrot"><i class="fas fa-carrot"></i></div>
</li>
<li class="holder">
<div class="card" data-name="hotdog"><i class="fas fa-hotdog"></i></div>
</li>
<li class="holder">
<div class="card" data-name="hamburger"><i class="fas fa-hamburger"></i></div>
</li>
<li class="holder">
<div class="card" data-name="cookie"><i class="fas fa-cookie"></i></div>
</li>
<li class="holder">
<div class="card" data-name="pizza"><i class="fas fa-pizza-slice"></i></div>
</li>
<li class="holder">
<div class="card" data-name="apple"><i class="fas fa-apple-alt"></i></div>
</li>
</ul>
</article>
<article class="verdict">
<h1 class="message"></h1>
<p class="statement"></p>
<div class="stats">
<div class="stars">
<i class="fas fa-star star"></i>
<i class="fas fa-star star"></i>
<i class="fas fa-star star"></i>
<i class="fas fa-star star"></i>
<i class="fas fa-star star"></i>
</div>
<div class="moves"></div>
<div class="time"></div>
</div>
<button class="btn" onclick="restartGame()">PLAY AGAIN</button>
</article>
<footer>
<a href="https://twitter.com/ekaranjaa" target="_blank">Twitter</a>
|
<a href="https://github.com/ekaranjaa" target="_blank">GitHub</a>
</footer>
<script src="./js/app.js"></script>
</body>
</html>