-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
310 lines (285 loc) · 11.4 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
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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<!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>Document</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@500&display=swap" rel="stylesheet" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="./css/styles.css" />
<link rel="stylesheet" href="./css/styles2.css" />
</head>
<body>
<div class="container" id="container">
<div class="displayStep" id="displayStep">
<style>
.displayStep{
background-image: url('./image/bg-sidebar-desktop.svg');
}
</style>
<div class="circle">
<div class="circle1" id="circle1">
<p>1</p>
</div>
<div class="circle2" id="circle2">
<p>2</p>
</div>
<div class="circle3" id="circle3">
<p>3</p>
</div>
<div class="circle4" id="circle4">
<p>4</p>
</div>
</div>
<div class="steps">
<div class="step1">
<p>STEP 1</p>
<span>YOUR INFO</span>
</div>
<div class="step1">
<p>STEP 2</p>
<span>SELECT PLAN</span>
</div>
<div class="step1">
<p>STEP 3</p>
<span>ADD-ONS</span>
</div>
<div class="step1">
<p>STEP 4</p>
<span>SUMMARY</span>
</div>
</div>
</div>
<div class="stepContainer" id="stepContainer">
<!--PERSO INFOS -------------------------------------------------------------------->
<div class="affichStep">
<div class="stepInfo" id="stepInfo">
<h1>Personal Info</h1>
<p class="descrition">
Please provide vour name, email address, and phone number.
</p>
<div class="flexError">
<p>Name</p>
<span id="errorName"></span>
</div>
<input type="text" name="" id="infoName" placeholder="e.g. Natalie Njoki" />
<div class="flexError">
<p>Email Address</p>
<span id="errorMail"></span>
</div>
<input type="text" name="" id="infoMail" placeholder="e.g. [email protected]" />
<div class="flexError">
<p>PhoneNumber</p>
<span id="errorNum"></span>
</div>
<input type="text" name="" id="infoNumber" placeholder="e.g. +1 234 567 890" />
<div class="buttonContainerStepOne">
<button onclick="goStepTwo()" class="nextStep">Next Step</button>
</div>
</div>
<!--SELECT PLAN ------------------------------------------------------------------------>
<div class="stepPlan" id="stepPlan">
<h1>Select your plan</h1>
<p class="descrition">
You have the option of monthly or yearly billing.
</p>
<div class="planMonth" id="planMonth">
<button class="planButton" id="moisArcade" onclick="getPrice1()">
<img src="./image/icon-arcade.svg" alt="" />
<p>Arcade</p>
<span id="priceMonth" class="priceMonth">9$/mo</span>
</button>
<button class="planButton" id="moisAdvenced" onclick="getPrice2()">
<img src="./image/icon-advanced.svg" alt="" />
<p>Advenced</p>
<span id="priceMonth" class="priceMonth">12$/mo</span>
</button>
<button class="planButton" id="moisPro" onclick="getPrice3()">
<img src="./image/icon-pro.svg" alt="" />
<p>Pro</p>
<span id="priceMonth" class="priceMonth">15$/mo</span>
</button>
</div>
<div class="planMonth" id="planYear">
<button class="planButton" id="anneeArcade" onclick="getPrice4()">
<img src="./image/icon-arcade.svg" alt="" />
<p>Arcade</p>
<span class="priceYear">90$/yr</span>
<label class="free">2 months free</label>
</button>
<button class="planButton" id="anneeAdvenced" onclick="getPrice5()">
<img src="./image/icon-advanced.svg" alt="" />
<p>Advenced</p>
<span class="priceYear">120$/yr</span>
<label class="free">2 months free</label>
</button>
<button class="planButton" id="anneePro" onclick="getPrice6()">
<img src="./image/icon-pro.svg" alt="" />
<p>Pro</p>
<span class="priceYear">150$/yr</span>
<label class="free">2 months free</label>
</button>
</div>
<div class="switch">
<p class="monthly">Monthly</p>
<label class="check"><input type="checkbox" id="switch" id="checkbox" onclick="reset()" />
<span></span></label>
<p class="yearly">Yearly</p>
</div>
<div class="buttonContainerStepTwo">
<button onclick="backStepOne()" class="goBack">Go back</button>
<button onclick="goStepThree()" class="nextStep">
Next Step
</button>
</div>
</div>
<!--ADD ON---------------------------------------------------------------------------------->
<div class="stepAddOn" id="stepAddOn">
<h1>Pick add-ons</h1>
<p class="descrition">
Add-ons help enhance your gaming experience.
</p>
<!--bouton mois ------------------------------------------------------------------->
<div id="addonMois">
<div class="addOnButton">
<div class="regroup">
<input type="checkbox" id="onlineMois" name="adOnn" value="1" />
<div class="addOn">
<p class="AddSize">Online service</p>
<span>Access to multiplayer games</span>
</div>
</div>
<p class="prix">+$1/mo</p>
</div>
<div class="addOnButton">
<div class="regroup">
<input type="checkbox" name="adOnn" value="2" id="storageMois" />
<div class="addOn">
<p class="AddSize">Larger storage</p>
<span> 1TB of cloud save</span>
</div>
</div>
<p class="prix">+$2/mo</p>
</div>
<div class="addOnButton">
<div class="regroup">
<input type="checkbox" name="adOnn" value="2" id="customizableMois" />
<div class="addOn">
<p class="AddSize">Customizable profile</p>
<span>Custom theme on your profile</span>
</div>
</div>
<p class="prix">+$2/mo</p>
</div>
</div>
<!--bouton année -------------------------------------------------------------------->
<div id="addonAnnee">
<div class="addOnButton">
<div class="regroup">
<input type="checkbox" name="adOnn" value="10" id="onlineAnnee" />
<div class="addOn">
<p class="AddSize">Online service</p>
<span>Access to multiplayer games</span>
</div>
</div>
<p class="prix">+$10/yr</p>
</div>
<div class="addOnButton">
<div class="regroup">
<input type="checkbox" name="adOnn" value="20" id="storageAnnee" />
<div class="addOn">
<p class="AddSize">Larger storage</p>
<span> 1TB of cloud save</span>
</div>
</div>
<p class="prix">+$20/yr</p>
</div>
<div class="addOnButton">
<div class="regroup">
<input type="checkbox" name="adOnn" value="20" id="customizableAnnee" />
<div class="addOn">
<p class="AddSize">Customizable profile</p>
<span>Custom theme on your profile</span>
</div>
</div>
<p class="prix">+$20/yr</p>
</div>
</div>
<div class="buttonContainerStepThree">
<button onclick="backSteptTwo()" class="goBack">Go back</button>
<button onclick="goStepFour()" class="nextStep">Next Step</button>
</div>
</div>
<!--RESUME---------------------------------------------------------------------------------->
<div class="stepSummary" id="stepSummary">
<h1>Finishing up</h1>
<p class="descrition">
Double-check everything looks OK before confirming.
</p>
<div class="resume">
<div class="containerResume">
<div id="resumeMonth"> <!--remuseMois-->
<div class="flexResume">
<div>
<h4 id="modeResume">Choose a plan</h4>
<button onclick="goFromFourToTwo()">Change</button>
</div>
<label for="" id="priceResume"></label>
</div>
<br />
<span></span>
<div class="flexResume">
<p>Online service</p>
<label for="" id="onlinePrice">+0$</label>
</div>
<div class="flexResume">
<p>Larger storage</p>
<label for="" id="storagePrice">+0$</label>
</div>
<div class="flexResume">
<p>Customizable profile</p>
<label for="" id="customizablePrice">+0$</label>
</div>
</div>
</div>
<div class="flexTotal">
<p id="modeTotal">Total</p>
<span id="totalPrice"></span>
<span class="dollar">$</span>
</div>
<div class="buttonContainerStepFour">
<button onclick="backStepThree()" class="goBack">
Go back
</button>
<button onclick="goToStepThankYou()" class="nextStep">
Confirm
</button>
</div>
</div>
</div>
<!--THANK YOU------------------------------------------------------------------------------>
<div class="stepThankYou" id="stepThankYou">
<img src="./image/icon-thank-you.svg" alt="" />
<h1>Thank you!</h1>
<p>
Thanks for confirming your subscription! We hope you have fun
using our platform. If you ever need support, please feel free to
email us at [email protected].
</p>
</div>
</div>
</div>
</div>
<script src="./scripts/scripts.js"></script>
</body>
</html>