-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
217 lines (198 loc) · 9.38 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
<!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" href="images/favicon-32x32.png">
<!--Fontawesome CDN-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css"
integrity="sha512-Avb2QiuDEEvB4bZJYdft2mNjVShBftLdPG8FJ0V7irTLQ8Uo0qcPxh4Plq7G5tGm0rU+1SPhVotteLpBERwTkw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- jQuery CDN -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<!-- Fontawesome CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
<title>Multi-step form</title>
</head>
<body>
<section class="wrapper">
<div class="steps">
<div class="step-wrapper">
<div class="step-one">
<a id="numCirc"><span id="numText">1</span></a>
<span class="number">STEP 1</span>
<span class="cont">YOUR INFO</span>
</div>
<div class="step-two">
<a id="numCirc"><span id="numText">2</span></a>
<span class="number">STEP 2</span>
<span class="cont">SELECT PLAN</span>
</div>
<div class="step-three">
<a id="numCirc"><span id="numText">3</span></a>
<span class="number">STEP 3</span>
<span class="cont">ADD-ONS</span>
</div>
<div class="step-four">
<a id="numCirc"><span id="numText">4</span></a>
<span class="number">STEP 4</span>
<span class="cont">SUMMARY</span>
</div>
</div>
</div>
<div class="form-content">
<!-- Pages start -->
<div class="first-info" style="display: block;">
<h1>Personal info</h1>
<p class="sub-title">Please provide your name, email address, and phone number.</p>
<div class="name-input">
<label for="name">Name</label>
<p class="err-reminder1">This field is required</p>
<input id="name" type="text" placeholder="e.g. Stephen King">
</div>
<div class="email-input">
<label for="email-add">Email Address</label>
<p class="err-valid-email">Please enter a valid email address</p>
<p class="err-reminder2">This field is required</p>
<input id="email-add" type="text" placeholder="e.g. [email protected]">
</div>
<div class="phone-input">
<label for="phone-num">Phone Number</label>
<p class="err-reminder3">This field is required</p>
<input id="phone-num" type="text" placeholder="e.g. +1 234 567 890">
</div>
</div>
<div class="second-info" style="display: none;">
<h1>Select your plan</h1>
<p class="sub-title">You have the option of monthly or yearly billing.</p>
<div class="plan-holder">
<div class="arcade-plan">
<label for="r1" id="r1-label" class="plan-label">
<img src="images/icon-arcade.svg">
<input type="radio" id="r1" name="plans" />
<div>
<h4>Arcade</h4>
<span id="arcade-price">$9/mo</span>
<p id="arcade-free" style="display: none;">2 months free</p>
</div>
</label>
</div>
<div class="advanced-plan">
<label for="r2" id="r2-label" class="plan-label">
<img src="images/icon-advanced.svg">
<input type="radio" id="r2" name="plans" />
<div>
<h4>Advanced</h4>
<span id="advanced-price">$12/mo</span>
<p id="advanced-free" style="display: none;">2 months free</p>
</div>
</label>
</div>
<div class="pro-plan">
<label for="r3" id="r3-label" class="plan-label">
<img src="images/icon-pro.svg">
<input type="radio" id="r3" name="plans" />
<div>
<h4>Pro</h4>
<span id="pro-price">$15/mo</span>
<p id="pro-free" style="display: none;">2 months free</p>
</div>
</label>
</div>
</div>
<div class="mon-year">
<div class="mon-year-text">
<span class="mon-text">Monthly</span>
<div class="switch">
<input id="checkbox1" class="look" type="checkbox" >
<label for="checkbox1"></label>
</div>
<span class="year-text">Yearly</span>
</div>
<p class="err-msg" style="display: none;"><i class="fa-solid fa-triangle-exclamation"></i> Please select a plan</p>
</div>
</div>
<div class="third-info" style="display: none;">
<h1>Pick add-ons</h1>
<p class="sub-title">Add-ons help enchance your gaming experience.</p>
<div class="add-wrapper">
<label for="first-opt" id="first-opt-lab">
<div class="add-block">
<input id="first-opt" type="checkbox">
<div class="add-text">
<h3>Online service</h3>
<p>Access to multiplayer games</p>
</div>
<span id="add-price1">+$1/mo</span>
</div>
</label>
<label for="second-opt" id="second-opt-lab">
<div class="add-block">
<input id="second-opt" type="checkbox">
<div class="add-text">
<h3>Larger storage</h3>
<p>Extra 1TB of cloud save</p>
</div>
<span id="add-price2">+$2/mo</span>
</div>
</label>
<label for="third-opt" id="third-opt-lab">
<div class="add-block">
<input id="third-opt" type="checkbox">
<div class="add-text">
<h3>Customizable profile</h3>
<p>Custom theme on your profile</p>
</div>
<span id="add-price3">+$2/mo</span>
</div>
</label>
</div>
</div>
<div class="fourth-info" style="display: none;">
<h1>Finishing up</h1>
<p class="sub-title">Double-check everything looks OK before confirming.</p>
<div class="summ-wrapper">
<div class="summ-head">
<p></p><br>
<a href="#" onclick="bckPlans()">Change</a>
<span></span>
</div>
<div class="summ-line1">
<p></p>
<span></span>
</div>
<div class="summ-line2">
<p></p>
<span></span>
</div>
<div class="summ-line3">
<p></p>
<span></span>
</div>
</div>
<div class="summ-total">
<p></p>
<span></span>
</div>
</div>
<div class="thanks-info" style="display: none;">
<img src="images/icon-thank-you.svg">
<h1>Thank you!</h1>
<p class="thanks-desc">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>
<!-- Pages end -->
<div class="footer">
<div class="button-wrapper" style="display: flex; justify-content: flex-end;">
<button class="back-step" style="display: none;" onclick="backPage()">Go Back</button>
<button class="footer-step" onclick="nextPage()">Next Step</button>
</div>
</div>
</section>
<script src="script.js"></script>
</body>
</html>