forked from OpenClassrooms-Student-Center/GameOn-website-FR
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
220 lines (218 loc) · 7.32 KB
/
index.html
File metadata and controls
220 lines (218 loc) · 7.32 KB
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Reservation</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="modal.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link
href="https://fonts.googleapis.com/css?family=DM+Sans"
rel="stylesheet"
/>
<script src="modal.js" defer ></script>
</head>
<body>
<div class="topnav" id="myTopnav">
<div class="header-logo">
<img alt="logo" src="Logo.png"/>
</div>
<div class="main-navbar">
<a href="#" class="active"><span>Accueil</span></a>
<a href="#"><span>Détails de l'évènement</span></a>
<a href="#"><span>À propos</span></a>
<a href="#"><span>Contact</span></a>
<a href="#"><span>Évènements passés</span></a>
<a href="javascript:void(0);" class="icon" onclick="editNav()">
<i class="fa fa-bars"></i>
</a>
</div>
</div>
<main>
<div class="hero-section">
<div class="hero-content">
<h1 class="hero-headline">
Marathon national<br />
de jeux vidéos
</h1>
<p class="hero-text">
Vous aimez jouer ? Notre prochain évènement gaming est ouvert aux
réservations... Places limitées !
</p>
<button class="btn-signup modal-btn">je m'inscris</button>
</div>
<div class="hero-img">
<img src="./bg_img.jpg" alt="img" />
</div>
<button class="btn-signup modal-btn">je m'inscris</button>
</div>
<div class="bground">
<div class="content">
<span class="close"></span>
<div class="modal-body">
<form name="reserve" action="index.html" method="get">
<div class="formData">
<label for="first">Prénom</label><br />
<input
class="text-control"
type="text"
id="first"
name="first"
minlength="2"
/>
<p class="error-Msg"></p>
</div>
<div class="formData">
<label for="last">Nom</label><br />
<input class="text-control" type="text" id="last" name="last" />
<p class="error-Msg"></p>
</div>
<div class="formData">
<label for="email">E-mail</label><br />
<input
class="text-control"
type="email"
id="email"
name="email"
/>
<p class="error-Msg"></p>
</div>
<div class="formData">
<label for="birthdate">Date de naissance</label><br />
<input
class="text-control"
type="date"
id="birthdate"
name="birthdate"
/>
<p class="error-Msg"></p>
</div>
<div class="formData">
<label
>À combien de tournois GameOn avez-vous déjà participé
?</label
><br />
<input
type="number"
class="text-control"
id="quantity"
name="quantity"
min="0"
max="99"
/>
<p class="error-Msg"></p>
</div>
<div class="formData">
<p class="text-label">
A quel tournoi souhaitez-vous participer cette année ?
</p>
<input
class="checkbox-input"
type="radio"
id="location1"
name="location"
value="New York"
/>
<label class="checkbox-label" for="location1">
<span class="checkbox-icon"></span>
New York</label
>
<input
class="checkbox-input"
type="radio"
id="location2"
name="location"
value="San Francisco"
/>
<label class="checkbox-label" for="location2">
<span class="checkbox-icon"></span>
San Francisco</label
>
<input
class="checkbox-input"
type="radio"
id="location3"
name="location"
value="Seattle"
/>
<label class="checkbox-label" for="location3">
<span class="checkbox-icon"></span>
Seattle</label
>
<input
class="checkbox-input"
type="radio"
id="location4"
name="location"
value="Chicago"
/>
<label class="checkbox-label" for="location4">
<span class="checkbox-icon"></span>
Chicago</label
>
<input
class="checkbox-input"
type="radio"
id="location5"
name="location"
value="Boston"
/>
<label class="checkbox-label" for="location5">
<span class="checkbox-icon"></span>
Boston</label
>
<input
class="checkbox-input"
type="radio"
id="location6"
name="location"
value="Portland"
/>
<label class="checkbox-label" for="location6">
<span class="checkbox-icon"></span>
Portland
</label>
<p class="error-Msg" id="error-radio"></p>
</div>
<div class="formData">
<div>
<input
class="checkbox-input"
type="checkbox"
id="checkbox1"
checked
/>
<label class="checkbox2-label" for="checkbox1" >
<span class="checkbox-icon"></span>
J'ai lu et accepté les conditions d'utilisation.
</label>
</div>
<p class="error-Msg" id="error-radio2"></p>
<input class="checkbox-input" type="checkbox" id="checkbox2" />
<label class="checkbox2-label" for="checkbox2">
<span class="checkbox-icon"></span>
Je souhaite être prévenu des prochains évènements.
</label>
</div>
<input
class="btn-submit"
type="submit"
value="C'est parti"
/>
</form>
<div class="message-inscription">
<p>Merci pour votre inscription</p>
<button id ="close-Form">Fermer</button>
</div>
</div>
</div>
</div>
</main>
<footer>
<p class="copyrights">Copyright 2014 - 2022, GameOn Inc.</p>
</footer>
</body>
</html>