-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (55 loc) · 2.23 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Memory Game</title>
<meta charset="UTF-8">
<script src="https://kit.fontawesome.com/501798d20d.js"></script>
<link rel="stylesheet" href="css/style.css" type="text/css">
<link rel="shortcut icon" href="images/favicon.ico" />
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,400i,500|Rubik:400,400i,700&display=swap" rel="stylesheet">
</head>
<body>
<div class="palette">
<div id="paletteBlack" class="black"></div>
<div id="paletteYellow" class="yellow"></div>
<div id="paletteBlue" class="blue"></div>
</div>
<div class="wrapper">
<main>
<h1>Memory</h1>
<h2>more</h2><h2 id="instClick">+</h2>
<p id="instructions" class="inst">Concentration, also known as Match Match, Memory, Pelmanism, Shinkei-suijaku, Pexeso or simply Pairs, is a card game in which all of the cards are laid face fown on a surgace and two cards are flipped face up over each turn. The object of the game is to turn over pairs of patching cards.</p>
<p class="gameStats">
<span class="statsLabel">time</span><span id="timer"><label id="min">00</label>:<label id="sec">00</label></span>
</p>
<p class="gameStats">
<span class="statsLabel"># moves</span><span id="moves">0</span>
</p>
<p class="gameStats">
<span class="statsLabel">score</span><span id="stars">★★★</span>
</p>
<p class="gameStats">
<span class="statsLabel"># games won</span><span id="won">0</span>
</p>
<p class="newGame">
<span class="h2">New game</span><button id="reset"><i class="fas fa-paper-plane"></i></button><br>
<span class="statsLabel">type of match</span>
<label class="radiocontainer">
<input type="radio" name="mode" value="species">SPECIES
<span class="circle"><span class="highlight"></span></span>
</label>
<label class="radiocontainer">
<input type="radio" name="mode"value="exactMatch" checked="true">EXACT
<span class="circle"><span class="highlight"></span></span>
</label>
<span class="statsLabel"># cards</span>
<input id="numberOfCards" placeholder="8">
</p>
</main>
<div id="cardBoard">
</div>
</div><!--wrapper -->
<script src="js/main.js"></script>
</body>
</html>