-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
158 lines (151 loc) · 4.74 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Memory Game</title>
</head>
<body>
<div class="container">
<div id="dynamic-cards" class="game-container">
<div class="heading-container">
<h1 class="gfg-heading">
Memory Game
</h1>
<h2 class="game-heading">Click any card to flip it!</h2>
</div>
<div class="cards-container">
<div class="card">
<img
src=
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3pGmJri04OV8_3XL3YNKZlWqgsZC5BqO94g&s"
class="outline-image">
<img id="1"
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20231122102835/html5Image.png"
alt="HTML Image" class="card-image">
</div>
<div class="card">
<img
src=
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3pGmJri04OV8_3XL3YNKZlWqgsZC5BqO94g&s"
class="outline-image">
<img id="2"
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20231122102834/JSImage.jpg"
alt="JavaScript Image" class="card-image">
</div>
<div class="card">
<img
src=
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3pGmJri04OV8_3XL3YNKZlWqgsZC5BqO94g&s"
class="outline-image">
<img id="3"
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20231122102834/CSS3Image.png"
alt="CSS Image" class="card-image">
</div>
<div class="card">
<img
src=
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3pGmJri04OV8_3XL3YNKZlWqgsZC5BqO94g&s"
class="outline-image">
<img id="4"
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20231122102834/JSImage.jpg"
alt="JavaScript Image" class="card-image">
</div>
<div class="card">
<img
src=
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3pGmJri04OV8_3XL3YNKZlWqgsZC5BqO94g&s"
class="outline-image">
<img id="5"
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20231122102835/html5Image.png"
alt="HTML Image" class="card-image">
</div>
<div class="card">
<img
src=
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3pGmJri04OV8_3XL3YNKZlWqgsZC5BqO94g&s"
class="outline-image">
<img id="6"
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20231122102833/vueImage.png"
alt="VUE Image" class="card-image">
</div>
<div class="card">
<img
src=
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3pGmJri04OV8_3XL3YNKZlWqgsZC5BqO94g&s"
class="outline-image">
<img id="7"
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20231122102834/CSS3Image.png"
alt="CSS Image" class="card-image">
</div>
<div class="card">
<img
src=
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3pGmJri04OV8_3XL3YNKZlWqgsZC5BqO94g&s"
class="outline-image">
<img id="8"
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20231122102833/reactImage.png"
alt="React Image" class="card-image">
</div>
<div class="card">
<img
src=
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3pGmJri04OV8_3XL3YNKZlWqgsZC5BqO94g&s"
class="outline-image">
<img id="9"
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20231122102833/vueImage.png"
alt="VUE Image" class="card-image">
</div>
<div class="card">
<img
src=
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3pGmJri04OV8_3XL3YNKZlWqgsZC5BqO94g&s"
class="outline-image">
<img id="10"
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20231122102833/AngularImage.png"
alt="Angular Image" class="card-image">
</div>
<div class="card">
<img
src=
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3pGmJri04OV8_3XL3YNKZlWqgsZC5BqO94g&s"
class="outline-image">
<img id="11"
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20231122102833/reactImage.png"
alt="React Image" class="card-image">
</div>
<div class="card">
<img
src=
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3pGmJri04OV8_3XL3YNKZlWqgsZC5BqO94g&s"
class="outline-image">
<img id="12"
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20231122102833/AngularImage.png"
alt="Angular Image" class="card-image">
</div>
</div>
<div class="progress-container">
<div class="move-counter">Moves: 0</div>
<button id="restart" class="restart-button">
Restart Game
</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>