-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
228 lines (197 loc) · 5.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<link rel="stylesheet" href="style.css">
<title>Frontend Mentor | Multi-step form</title>
<script src="https://code.jquery.com/jquery-3.6.3.min.js" integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU=" crossorigin="anonymous"></script>
</head>
<body>
<div class="container">
<!-- Sidebar start -->
<div id="sidebar">
<div id="step1" class="active step">
<span>
1
</span>
<p>step 1</p>
<h3>your info</h3>
</div>
<div id="step2" class="step">
<span>
2
</span>
<p>step 2</p>
<h3>select plan</h3>
</div>
<div id="step3" class="step">
<span>
3
</span>
<p>step 2</p>
<h3>add-ons</h3>
</div>
<div id="step4" class="step">
<span>
4
</span>
<p>step 4</p>
<h3>summary</h3>
</div>
</div>
<!-- Sidebar end -->
<!-- Step 1 start -->
<div class="main-container">
<div id="personal-info">
<h2>Personal info</h2>
<p>Please provide your name, email address, and phone number.</p>
<form>
<label for="name">Name</label>
<input type="text" name="name" placeholder="e.g. Stephen King"> <br>
<label for="email">Email Address</label>
<input type="email" name="email" placeholder="e.g. stephenking@lorem.com"> <br>
<label for="phone">Phone Number</label>
<input type="text" name="phone" placeholder="e.g. +1 234 567 890"> <br>
</form>
<div class="steps">
<input type="submit" name="submit" value="Next Step" id="step1plus">
</div>
</div>
<!-- Step 1 end -->
<!-- Step 2 start -->
<div id="plan">
<h2>Select your plan</h2>
<p>You have the option of monthly or yearly billing.</p>
<div class="plans">
<article class="arcade active">
<img src="assets/images/icon-arcade.svg" alt="">
<h4>Arcade</h4>
<p class="price">$9/mo</p>
</article>
<article class="advanced">
<img src="assets/images/icon-advanced.svg" alt="">
<h4>Advanced</h4>
<p class="price">$12/mo</p>
</article>
<article class="pro">
<img src="assets/images/icon-pro.svg" alt="">
<h4>Pro</h4>
<p class="price">$15/mo</p>
</article>
</div>
<div id="switcher">
<span class="toggle1">Monthly</span>
<div class="toggler">
<label class="switch">
<input type="checkbox" id="checkbox">
<span class="slider round"></span>
</label>
</div>
<span class="toggle2">Yearly</span>
</div>
<div class="steps">
<button class="prev">Go back</button>
<button class="next">Next Step</button>
</div>
</div>
<!-- Step 2 end -->
<!-- Step 3 start -->
<div id="add-ons">
<h2>Pick add-ons</h2>
<p> Add-ons help enhance your gaming experience.</p>
<div class="add-ons">
<article>
<section>
<form>
<input type="checkbox" id="onlineS">
</form>
</section>
<section>
<h3>Online service</h3>
<p>Access to multiplayer games</p>
</section>
<section>
<span>
+$1/mo
</span>
</section>
</article>
<article>
<section>
<form>
<input type="checkbox" id="largerSto">
</form>
</section>
<section>
<h3>Larger storage</h3>
<p>Extra 1TB of cloud save</p>
</section>
<section>
<span>
+$2/mo
</span>
</section>
</article>
<article>
<section>
<form>
<input type="checkbox" id="custProfile">
</form>
</section>
<section>
<h3>Customizable Profile</h3>
<p>Custom theme on your profile</p>
</section>
<section>
<span>
+$2/mo
</span>
</section>
</article>
</div>
<div class="steps">
<button class="prev1">Go back</button>
<button class="next1">Next Step</button>
</div>
</div>
<!-- Step 3 end -->
<!-- Step 4 start -->
<div id="finish">
<h2>Finishing up</h2>
<p>Double-check everything looks OK before confirming.</p>
<div class="summary">
<section>
<div>
<p id="finalselection">Arcade (monthly)</p>
<span class="tosecond">Change</span>
</div>
<p class="finalprice">$9/mo</p>
</section>
<section id="additional">
</section>
<section>
<p>Total <span id="periodfinal">(per month)</span> <span id="finalfinale">+$12/mo</span></p>
</section>
</div>
<div class="steps">
<button class="prev2">Go back</button>
<button class="next2">Confirm</button>
</div>
</div>
<!-- Step 4 end -->
<!-- Step 5 start -->
<div id="thankyou">
<img src="assets/images/icon-thank-you.svg" alt="">
<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 -->
</div>
</div>
<script src="main.js"></script>
</body>
</html>