-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (82 loc) · 3.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Memory Game</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.0/animate.min.css"
/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/styles.css?v=2">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
<div class="outermaindiv">
<div class="mainbox">
<div class="tophead">
Memory Game
</div>
<hr>
<div class="gamebox">
<div onclick="clicked(this)" id="1" class="eachgamebox animate__animated">
<img src="images/card.png" class="cardimage">
</div>
<div onclick="clicked(this)" id="2" class="eachgamebox animate__animated">
<img src="images/card.png" class="cardimage">
</div>
<div onclick="clicked(this)" id="3" class="eachgamebox animate__animated">
<img src="images/card.png" class="cardimage">
</div>
<div onclick="clicked(this)" id="4" class="eachgamebox animate__animated">
<img src="images/card.png" class="cardimage">
</div>
<div onclick="clicked(this)" id="5" class="eachgamebox animate__animated">
<img src="images/card.png" class="cardimage">
</div>
<div onclick="clicked(this)" id="6" class="eachgamebox animate__animated">
<img src="images/card.png" class="cardimage">
</div>
<div onclick="clicked(this)" id="7" class="eachgamebox animate__animated">
<img src="images/card.png" class="cardimage">
</div>
<div onclick="clicked(this)" id="8" class="eachgamebox animate__animated">
<img src="images/card.png" class="cardimage">
</div>
<div onclick="clicked(this)" id="9" class="eachgamebox animate__animated">
<img src="images/card.png" class="cardimage">
</div>
<div onclick="clicked(this)" id="10" class="eachgamebox animate__animated">
<img src="images/card.png" class="cardimage">
</div>
<div onclick="clicked(this)" id="11" class="eachgamebox animate__animated">
<img src="images/card.png" class="cardimage">
</div>
<div onclick="clicked(this)" id="12" class="eachgamebox animate__animated">
<img src="images/card.png" class="cardimage">
</div>
</div>
<div class="scorebox">
<p>Completed: <span id="comp">0%</span></p>
<p>Turns: <span id="turns">00</span></p>
<p>Time: <span class="alltimeblock"><span id="min">00</span>m <span id="sec">00</span>s</span></p>
</div>
</div>
</div>
<div class="footer">
<p>© Copyright 2020 | Created By Rahul Sah</p>
</div>
<div class="restartdiv" onclick="reload()">
<p id="restartbtn"></p>
</div>
<div class="wincupdiv animate__animated animate__backInUp">
<div class="cupcont">
<img src="images/win.png" class="wincup">
</div>
</div>
<!-- </div> -->
<script src="script.js?v=1"></script>
<script src="https://cdn.jsdelivr.net/gh/mathusummut/confetti.js/confetti.min.js"></script>
</body>
</html>