-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
283 lines (273 loc) · 8.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/style.css" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./assets/images/favicon-32x32.png"
/>
<title>Frontend Mentor | Multi-step form</title>
</head>
<body>
<main>
<div>
<a href="/text.html">Check Image</a>
</div>
<div class="content_wrapper">
<!-- Sidebar start -->
<div class="sidebar">
<ul class="sidebar_lists">
<li>
<span>1</span>
<div>
<span>Step 1</span> <br />
Your info
</div>
</li>
<li>
<span>2</span>
<div>
<span>Step 2</span> <br />
Select plan
</div>
</li>
<li>
<span>3</span>
<div>
<span>Step 3</span> <br />
Add-ons
</div>
</li>
<li>
<span>4</span>
<div>
<span>Step 4</span> <br />
Summary
</div>
</li>
</ul>
</div>
<!-- Sidebar end -->
<section class="forms_wrapper">
<!-- Step 1 start -->
<div class="step1">
<div>
<h2>Personal info</h2>
<p>Provide your name, email address, and phone number</p>
</div>
<form id="form-step1">
<div class="forms_list">
<label for="name">Name</label>
<input
type="text"
id="name"
placeholder="e.g. Stephen King"
required
/>
<span class="error-message" id="error-name"
>Name is required</span
>
</div>
<div class="forms_list">
<label for="email">Email Address</label>
<input
type="email"
id="email"
placeholder="e.g. stephenking@lorem.com"
required
/>
<span class="error-message" id="error-email"
>Email is required</span
>
</div>
<div class="forms_list">
<label for="number">Phone Number</label>
<input
type="tel"
id="number"
placeholder="e.g. +1 234 567 890"
required
/>
<span class="error-message" id="error-number"
>Number is required</span
>
</div>
<div class="step1_btn">
<button id="next1" type="button">Next Step</button>
</div>
</form>
</div>
<!-- Step 1 end -->
<!-- Step 2 start -->
<div class="step2 hide">
<div>
<h2>Select your plan</h2>
<p>You have the option of monthly or yearly billing.</p>
</div>
<ul>
<li>
<div>
<img
class="step2_img"
src="/assets/images/icon-arcade.svg"
alt="Arcade"
/>
</div>
<div>
<h5>Arcade</h5>
<span>$9/mo</span>
</div>
</li>
<li>
<div>
<img
class="step2_img"
src="/assets/images/icon-advanced.svg"
alt="Advanced"
/>
</div>
<div>
<h5>Advanced</h5>
<span>$12/mo</span>
</div>
</li>
<li>
<div>
<img
class="step2_img"
src="/assets/images/icon-pro.svg"
alt="Pro"
/>
</div>
<div>
<h5>Pro</h5>
<span>$15/mo</span>
</div>
</li>
</ul>
<div class="switch_wrapper">
<span>Monthly</span>
<label class="switch">
<input type="checkbox" />
<span class="slider"></span>
</label>
<span>Yearly</span>
</div>
<div class="step2_btn">
<button type="button" id="back2">Go Back</button>
<button type="button" id="next2">Next Step</button>
</div>
</div>
<!-- Step 2 end -->
<!-- Step 3 start -->
<div class="step3 hide">
<div>
<h2>Pick add-ons</h2>
<p>Add-ons help enhance your gaming experience.</p>
</div>
<ul>
<li>
<div>
<input type="checkbox" name="addon1" id="addon1" />
</div>
<div>
<h5>Online service</h5>
<p>Access to multiplayer games</p>
</div>
<div>
<span>+$1/mo</span>
</div>
</li>
<li>
<div>
<input type="checkbox" name="addon2" id="addon2" />
</div>
<div>
<h5>Larger storage</h5>
<p>Extra 1TB of cloud save</p>
</div>
<div>
<span>+$2/mo</span>
</div>
</li>
<li>
<div>
<input type="checkbox" name="addon3" id="addon3" />
</div>
<div>
<h5>Customizable Profile</h5>
<p>Custom theme on your profile</p>
</div>
<div>
<span>+$2/mo</span>
</div>
</li>
</ul>
<div class="step3_btn">
<button type="button" id="back3">Go Back</button>
<button type="button" id="next3">Next Step</button>
</div>
</div>
<!-- Step 3 end -->
<!-- Step 4 start -->
<div class="step4 hide">
<div>
<h2>Finishing up</h2>
<p>Double-check everything looks OK before confirming.</p>
</div>
<div class="summary_list">
<div class="">
<div>
<h5>Subscription</h5>
<a href="#">Change</a>
</div>
<p>price</p>
</div>
<div class="">
<h5>Add-ons</h5>
<p>Online service</p>
</div>
</div>
<div class="summary_total">
<p>Total (per month/year): $15</p>
</div>
<div class="summary_btn">
<button type="button" id="back4">Go Back</button>
<button type="submit" id="confirm">Confirm</button>
</div>
</div>
<!-- Step 4 end -->
<!-- Step 5 start -->
<div class="step5 hide">
<div class="step5_btn">
<img
src="/assets/images/icon-thank-you.svg"
alt="Thank you icon"
/>
</div>
<h2>Thank you!</h2>
<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 support@loremgaming.com.
</p>
</div>
<!-- Step 5 end -->
</section>
</div>
<!-- Footer start -->
<div class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by <a href="#">Awoyemi Patrick Gbenga</a>.
</div>
<!-- Footer end -->
<script src="/script.js"></script>
</main>
</body>
</html>