-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (102 loc) · 5.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script defer src="app.js"></script>
<link rel="stylesheet" href="style.css">
<script defer src="https://cdn.jsdelivr.net/npm/party-js@latest/bundle/party.min.js"></script>
<title>Card Matching Game</title>
</head>
<body>
<div class="layout">
<div class="instructions">
<h2>Instructions:</h2>
<span>Click on a card to reveal the image underneath. Continue until you've found the card's match. Game is
won when you've found all 8 card matches!</span>
</div>
<div class="main">
<div class="title">Card Matching Game</div>
<section class="memory-game" id="gameBoard">
<div class="memory-card">
<img class="question-mark" data-exercise="back-squat" src="images/Question_Mark.png"
alt="question-mark" />
<img class="exercise" data-exercise="back-squat" src="images/Back_Squat.png" alt="Barbell Back Squat" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="wall-ball" src="images/Question_Mark.png" alt="question-mark" />
<img class="exercise" data-exercise="wall-ball" src="images/Wall_Ball.png" alt="Wall Ball" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="push-press" src="images/Question_Mark.png"
alt="question-mark" />
<img class="exercise" data-exercise="push-press" src="images/Push_Press.png" alt="Push Press" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="sit-ups" src="images/Question_Mark.png" alt="question-mark" />
<img class="exercise" data-exercise="sit-ups" src="images/Sit-ups.png" alt="Sit-ups" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="bicep-curls" src="images/Question_Mark.png"
alt="question-mark" />
<img class="exercise" data-exercise="bicep-curls" src="images/Bicep_Curls.png" alt="Bicep Curls" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="yoga" src="images/Question_Mark.png" alt="question-mark" />
<img class="exercise" data-exercise="yoga" src="images/Yoga.png" alt="Yoga" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="barbell-deadlift" src="images/Question_Mark.png"
alt="question-mark" />
<img class="exercise" data-exercise="barbell-deadlift" src="images/Barbell_Deadlift.png" alt="Barbell Deadlift" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="overhead-squat" src="images/Question_Mark.png"
alt="question-mark" />
<img class="exercise" data-exercise="overhead-squat" src="images/Overhead_Squat.png" alt="Overhead Squat" />
</div>
<!-- Matching Pairs -->
<div class="memory-card">
<img class="question-mark" data-exercise="back-squat" src="images/Question_Mark.png"
alt="question-mark" />
<img class="exercise" data-exercise="back-squat" src="images/Back_Squat.png" alt="Barbell Back Squat" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="wall-ball" src="images/Question_Mark.png" alt="question-mark" />
<img class="exercise" data-exercise="wall-ball" src="images/Wall_Ball.png" alt="Wall Ball" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="push-press" src="images/Question_Mark.png"
alt="question-mark" />
<img class="exercise" data-exercise="push-press" src="images/Push_Press.png" alt="Push Press" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="sit-ups" src="images/Question_Mark.png" alt="question-mark" />
<img class="exercise" data-exercise="sit-ups" src="images/Sit-ups.png" alt="Sit-ups" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="bicep-curls" src="images/Question_Mark.png"
alt="question-mark" />
<img class="exercise" data-exercise="bicep-curls" src="images/Bicep_Curls.png" alt="Bicep Curls" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="yoga" src="images/Question_Mark.png" alt="question-mark" />
<img class="exercise" data-exercise="yoga" src="images/Yoga.png" alt="Yoga" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="barbell-deadlift" src="images/Question_Mark.png"
alt="question-mark" />
<img class="exercise" data-exercise="barbell-deadlift" src="images/Barbell_Deadlift.png" alt="Barbell Deadlift" />
</div>
<div class="memory-card">
<img class="question-mark" data-exercise="overhead-squat" src="images/Question_Mark.png"
alt="question-mark" />
<img class="exercise" data-exercise="overhead-squat" src="images/Overhead_Squat.png" alt="Overhead Squat" />
</div>
</section>
<h3><span id="result"></span></h3>
</div>
</div>
</body>
</html>