-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathindex.html
95 lines (94 loc) · 3.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=BioRhyme:400&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Mali:wght@300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Mali:wght@200&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="styles.css">
<script src="script.js" type="module"></script>
<script src="DragAndDropTouch.js" type="module"></script>
<title>Emoji Cards Game</title>
</head>
<body>
<aside id="landing-page">
<h1 id="title-text">Emoji Card Game</h1>
<details>
<summary>Instructions</summary>
<p id="instructions">
</p>
</details>
<label>Choose a category:
<select id="category">
<option value="Animated Movies">Animated Movies</option>
<option value="Coding Languages">Coding Languages</option>
<option value="Freedom Fighters">Freedom Fighters</option>
<option value="States and UT">States & UTs</option>
<option value="Fruits">Fruits</option>
<option value="Rock Bands">Rock Bands</option>
<option value="Marvel Heroes">Marvel Heroes</option>
<option value="Fantasy Fiction Books">Fantasy Fiction Books</option>
<option value="DC Heroes">DC Heroes</option>
<option value="Harry Potter Characters">Harry Potter Characters</option>
<option value="Cartoons">Cartoons</option>
<option value="Countries">Countries</option>
<option value="Apps">Apps</option>
<option value="Netflix series">Netflix series</option>
<option value="Games">Games</option>
<option value="Famous Companies">Famous Companies</option>
</select>
<br>
</label>
<label>Choose a difficulty mode:
<select id="difficulty-mode">
<option value="Easy">Easy</option>
<option value="Challenging">Challenging</option>
</select>
</label>
<button id="play-btn">Play!</button>
<a id="footer" href="https://github.com/N-Shar-ma/Emoji-Card-Game"><i>leave a ⭐ on GitHub!</i></a>
</aside>
<main id="game-area">
<button id="home-btn">back</button>
<button id="audio-button" >
<img src="" width="30px" height= "30px" alt="volume icon" >
</button>
<div id="name-shower">The card depicted: <span></span></div>
<div id="score-display">Score: <span id="score">0</span></div>
<div class="card-container" id="source">
</div>
<div class="card-container" id="destination">
<div id="card-drop-position">
<div id="matcher"></div>
</div>
</div>
<div id="hints-display">Hints seen: <span id="hint">0</span></div>
<div id="deck-author-display">Deck Created by: <a id="author" href="#" target=blank_></a></div>
</main>
<template id="cardTemplate">
<div class="card-wrapper" draggable="true">
<div class="card">
<div class="back-face">
<span class="hint"></span>
</div>
<div class="front-face">
<span class="primary"></span>
<span class="secondary"></span>
</div>
</div>
</div>
</template>
<div id="modal-container">
<div id="modal-overlay"></div>
<div id="modal-box">
<h1 id="modal-title"></h1>
<p id="modal-content"></p>
<div id="modal-actions">
<button id="modal-cancel"></button>
<button id="modal-confirm"></button>
</div>
</div>
</div>
</body>
</html>