-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
235 lines (213 loc) · 10.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Register for Full Stack Conference</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css"/>
</head>
<body>
<header>
<div id="header-container" class="header-container">
<span>Register for</span>
<h1>Full Stack Conference</h1>
</div>
</header>
<div class="container">
<form action="index.html" method="post" novalidate>
<p id="form-hint" class="form-hint"><span class="asterisk">*</span> - required field</p>
<div class="basic-info-and-shirt-box">
<fieldset class="basic-info">
<legend>Basic Info</legend>
<label for="name">Name: <span class="asterisk">*</span>
<input type="text" id="name" name="user-name" class="error-border">
<span id="name-hint" class="name-hint hint">Name field cannot be blank</span>
</label>
<label for="email">Email Address: <span class="asterisk">*</span>
<input type="email" id="email" name="user-email" class="error-border">
<span id="email-hint" class="email-hint hint">Email address must be formatted correctly</span>
</label>
<label for="title">Job Role</label>
<select id="title" name="user-title">
<option hidden>Select Job Role</option>
<option value="full-stack js developer">Full Stack JavaScript Developer</option>
<option value="front-end developer">Front End Developer</option>
<option value="back-end developer">Back End Developer</option>
<option value="designer">Designer</option>
<option value="student">Student</option>
<option value="other">Other</option>
</select>
<input type="text" name="other-job-role" id="other-job-role" class="other-job-role" placeholder="Other job role?">
</fieldset>
<fieldset class="shirts">
<legend>T-Shirt Info</legend>
<div class="shirt-div-box">
<div id="shirt-sizes" class="shirt-sizes">
<label for="size">Size:</label>
<select id="size" name="user-size">
<option value="small">S</option>
<option value="medium" selected>M</option>
<option value="large">L</option>
<option value="extra large">XL</option>
<option value="extra large">XXL</option>
</select>
</div>
<div id="shirt-designs" class="shirt-designs">
<label for="design">Design:</label>
<select id="design" name="user-design">
<option hidden>Select Theme</option>
<option value="js puns">Theme - JS Puns</option>
<option value="heart js">Theme - I ♥ JS</option>
</select>
</div>
<div id="shirt-colors" class="shirt-colors">
<label for="color">Color:</label>
<select id="color">
<option selected hidden>Select a design theme above</option>
<option data-theme="js puns" value="cornflowerblue">Cornflower Blue (JS Puns shirt only)</option>
<option data-theme="js puns" value="darkslategrey">Dark Slate Grey (JS Puns shirt only)</option>
<option data-theme="js puns" value="gold">Gold (JS Puns shirt only)</option>
<option data-theme="heart js" value="tomato">Tomato (I ♥ JS shirt only)</option>
<option data-theme="heart js" value="steelblue">Steel Blue (I ♥ JS shirt only)</option>
<option data-theme="heart js" value="dimgrey">Dim Grey (I ♥ JS shirt only)</option>
</select>
</div>
</div>
</fieldset>
</div>
<fieldset id="activities" class="activities">
<legend>Register for Activities <span class="asterisk">*</span></legend>
<div id="activities-box" class="activities-box error-border">
<label>
<input type="checkbox" name="all" data-cost="200">
<span>Main Conference</span>
<span class="activity-cost">$200</span>
<img class="activity-img js-img" src="img/js.svg" alt="">
</label>
<label>
<input type="checkbox" name="js-libs" data-day-and-time="Tuesday 9am-12pm" data-cost="100">
<span>JavaScript Libraries Workshop</span>
<span>Tuesday 9am-12pm</span>
<span class="activity-cost">$100</span>
<img class="activity-img react-img" src="img/react.svg" alt="">
</label>
<label>
<input type="checkbox" name="node" data-day-and-time="Tuesday 1pm-4pm" data-cost="100">
<span>Node.js Workshop</span>
<span>Tuesday 1pm-4pm</span>
<span class="activity-cost">$100</span>
<img class="activity-img node-img" src="img/node.svg" alt="">
</label>
<label>
<input type="checkbox" name="js-frameworks" data-day-and-time="Tuesday 9am-12pm" data-cost="100">
<span>JavaScript Frameworks Workshop</span>
<span>Tuesday 9am-12pm</span>
<span class="activity-cost">$100</span>
<img class="activity-img angular-img" src="img/angular.svg" alt="">
</label>
<label>
<input type="checkbox" name="build-tools" data-day-and-time="Tuesday 1pm-4pm" data-cost="100">
<span>Build tools Workshop</span>
<span>Tuesday 1pm-4pm</span>
<span class="activity-cost">$100</span>
<img class="activity-img build-img" src="img/build.svg" alt="">
</label>
<label>
<input type="checkbox" name="npm" data-day-and-time="Wednesday 9am-12pm" data-cost="100">
<span>npm Workshop</span>
<span>Wednesday 9am-12pm</span>
<span class="activity-cost">$100</span>
<img class="activity-img npm-img" src="img/npm.svg" alt="">
</label>
<label>
<input type="checkbox" name="express" data-day-and-time="Wednesday 1pm-4pm" data-cost="100">
<span>Express Workshop</span>
<span>Wednesday 1pm-4pm</span>
<span class="activity-cost">$100</span>
<img class="activity-img express-img" src="img/express.svg" alt="">
</label>
</div>
<p id="activities-cost" class="activities-cost">Total: $0</p>
<p id="activities-hint" class="activities-hint hint">Choose at least one activity</p>
</fieldset>
<fieldset class="payment-methods">
<legend>Payment Info</legend>
<div class="payment-method-box">
<label for="payment">I'm going to pay with:</label>
<select id="payment" name="user-payment">
<option value="select method" hidden>Select Payment Method</option>
<option value="credit-card">Credit Card</option>
<option value="paypal">PayPal</option>
<option value="bitcoin">Bitcoin</option>
</select>
</div>
<div id="credit-card" class="credit-card">
<div class="expiration-box">
<div class="month-box">
<label for="exp-month">Expiration Date:</label>
<select id="exp-month" name="user-exp-month" class="error-border">
<option hidden>Select Date</option>
<option value="1">01 - January</option>
<option value="2">02 - February</option>
<option value="3">03 - March</option>
<option value="4">04 - April</option>
<option value="5">05 - May</option>
<option value="6">06 - June</option>
<option value="7">07 - July</option>
<option value="8">08 - August</option>
<option value="9">09 - September</option>
<option value="10">10 - October</option>
<option value="11">11 - November</option>
<option value="12">12 - December</option>
</select>
</div>
<div class="year-box">
<label for="exp-year">Expiration Year:</label>
<select id="exp-year" name="user-exp-year" class="error-border">
<option hidden>Select Year</option>
<option value="2021">2021</option>
<option value="2022">2022</option>
<option value="2023">2023</option>
<option value="2024">2024</option>
<option value="2025">2025</option>
</select>
</div>
</div>
<div class="credit-card-box">
<div class="num-box">
<label for="cc-num">Card Number: <span class="asterisk">*</span>
<input id="cc-num" name="user-cc-num" type="text" class="error-border">
<span id="cc-hint" class="cc-hint hint">Credit card number must be between 13 - 16 digits</span>
</label>
</div>
<div class="zip-box">
<label for="zip">Zip Code: <span class="asterisk">*</span>
<input id="zip" name="user-zip" type="text" class="error-border">
<span id="zip-hint" class="zip-hint hint">Zip Code must be 5 digits</span>
</label>
</div>
<div class="cvv-box">
<label for="cvv">CVV: <span class="asterisk">*</span>
<input id="cvv" name="user-cvv" type="text" class="error-border">
<span id="cvv-hint" class="cvv-hint hint">CVV must be 3 digits</span>
</label>
</div>
</div>
</div>
<div id="paypal" class="paypal">
<h3>PayPal</h3>
<p>If you selected the PayPal option we'll take you to Paypal's site to set up your billing information, when you click “Register” below.</p>
</div>
<div id="bitcoin" class="bitcoin">
<h3>Bitcoin</h3>
<p>If you selected the Bitcoin option we'll take you to the Coinbase site to set up your billing information. Due to the nature of exchanging Bitcoin, all Bitcoin transactions will be final.</p>
</div>
</fieldset>
<button type="submit">Register</button>
</form>
</div>
<script src="js/script.js"></script>
</body>
</html>