-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (79 loc) · 2.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
<!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" />
<title>Memory Game</title>
<link rel="stylesheet" href="./css/reset.css" />
<link rel="stylesheet" href="./css/styles.css" />
</head>
<body>
<header>
<h1 id="main-title">Memory Game</h1>
<div class="score-container">
<h2 class="score-text">Score : <span id="score"></span></h2>
<p class="consecutive-score-text">
Best consecutive score : <span id="consecutive-score"></span>
</p>
</div>
</header>
<main>
<div id="start-menu" style="display: flex">
<form
id="start-menu__form"
data-lpr="false"
action="index.html"
method=""
>
<fieldset class="start-menu__form__theme">
<legend>Thème du jeu</legend>
<input
type="radio"
name="theme"
value="classic"
id="start-menu__form__theme--classic"
checked
/><label for="start-menu__form__theme--classic">Classique</label>
<input
type="radio"
name="theme"
value="lpr"
id="start-menu__form__theme--lpr"
/><label for="start-menu__form__theme--lpr">La Pomme Rouge</label>
</fieldset>
<fieldset class="start-menu__form__difficulty">
<legend>Difficulté</legend>
<input
type="radio"
name="difficulty"
value="easy"
id="start-menu__form__difficulty--easy"
/><label for="start-menu__form__difficulty--easy">Facile</label>
<input
type="radio"
name="difficulty"
value="normal"
id="start-menu__form__difficulty--normal"
checked
/><label for="start-menu__form__difficulty--normal">Normal</label>
<input
type="radio"
name="difficulty"
value="hard"
id="start-menu__form__difficulty--hard"
/><label for="start-menu__form__difficulty--hard">Difficile</label>
</fieldset>
<button class="start-menu__form__play" type="submit">Jouer !</button>
</form>
</div>
<div id="faded-bckg" style="display: none"></div>
<div id="end-menu" style="display: none">
<p>Félicitations, vous avez gagné !</p>
<a href="index.html"><button>Recommencer</button></a>
</div>
<div id="memory-container" style="height: 600px"></div>
</main>
<script src="./js/app.js"></script>
</body>
</html>