-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
193 lines (167 loc) · 7.58 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
<!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 Conf</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<header>
<span>Register for</span>
<h1>Full Stack Conf</h1>
</header>
<form id="form" action="index.html" method="post" novalidate>
<fieldset class="basic-info">
<legend>Basic Info</legend>
<label for="name">Name:</label>
<p class="error-message" id="name-alert"></p>
<input type="text" id="name" name="user-name" autofocus>
<label for="mail">Email:</label>
<p class="error-message" id="email-alert"></p>
<input type="email" id="mail" name="user-email">
<label for="title">Job Role</label>
<select id="title" name="user-title">
<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 placeholder="Your Job Role" type="text" id="other-title" name="job-role">
</fieldset>
<fieldset class="shirt">
<legend>T-Shirt Info</legend>
<div class="shirt-box">
<div>
<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>
</select>
</div>
<div>
<label for="design">Design:</label>
<select id="design" name="user-design">
<option value="select-theme" disabled selected 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 class="jsPuns" value="cornflowerblue">Cornflower Blue (JS Puns shirt only)</option>
<option class="jsPuns" value="darkslategrey">Dark Slate Grey (JS Puns shirt only)</option>
<option class="jsPuns" value="gold">Gold (JS Puns shirt only)</option>
<option class="iLoveJsShirt" value="tomato">Tomato (I ♥ JS shirt only)</option>
<option class="iLoveJsShirt" value="steelblue">Steel Blue (I ♥ JS shirt only)</option>
<option class="iLoveJsShirt" value="dimgrey">Dim Grey (I ♥ JS shirt only)</option>
</select>
</div>
</div>
</fieldset>
<fieldset class="activities">
<legend>Register for Activities</legend>
<p class="error-message" id="activities-alert"></p>
<label>
<input type="checkbox" name="all" data-cost="200"> Main Conference — $200
</label>
<label>
<input type="checkbox" name="js-frameworks" data-day-and-time="Tuesday 9am-12pm" data-cost="100">
JavaScript Frameworks Workshop — Tuesday 9am-12pm, $100
</label>
<label>
<input type="checkbox" name="js-libs" data-day-and-time="Tuesday 1pm-4pm" data-cost="100">
JavaScript Libraries Workshop — Tuesday 1pm-4pm, $100
</label>
<label>
<input type="checkbox" name="express" data-day-and-time="Tuesday 9am-12pm" data-cost="100">
Express Workshop — Tuesday 9am-12pm, $100
</label>
<label>
<input type="checkbox" name="node" data-day-and-time="Tuesday 1pm-4pm" data-cost="100">
Node.js Workshop — Tuesday 1pm-4pm, $100
</label>
<label>
<input type="checkbox" name="build-tools" data-day-and-time="Wednesday 9am-12pm" data-cost="100">
Build tools Workshop — Wednesday 9am-12pm, $100
</label>
<label>
<input type="checkbox" name="npm" data-day-and-time="Wednesday 1pm-4pm" data-cost="100">
npm Workshop — Wednesday 1pm-4pm, $100
</label>
</fieldset>
<div id="total"></div>
<fieldset class="payment-info">
<legend>Payment Info</legend>
<label for="payment">I'm going to pay with:</label>
<p class="error-message" id="payment-choice-alert"></p>
<select id="payment" name="user-payment">
<<<<<<< HEAD:index.html=======<option value="select payment method" disabled selected hidden>Select Payment
Method</option>
>>>>>>> c5b8307647b8c64bdf6f59a0b5a459af034113b8:interactive-form-v2/index.html
<option value="credit card">Credit Card</option>
<option value="paypal">PayPal</option>
<option value="bitcoin">Bitcoin</option>
</select>
<div id="credit-card" class="credit-card">
<div class="col-6 col">
<label for="cc-num">Card Number:</label>
<input id="cc-num" name="user-cc-num" type="text">
<p class="error-message" id="credit-card-number-alert"></p>
</div>
<div class="col-3 col">
<label for="zip">Zip Code:</label>
<input id="zip" name="user-zip" type="text">
<p class="error-message" id="zip-code-alert"></p>
</div>
<div class="col-3 col">
<label for="cvv">CVV:</label>
<input id="cvv" name="user-cvv" type="text">
<p class="error-message" id="cvv-alert"></p>
</div>
<label for="exp-month">Expiration Date:</label>
<select id="exp-month" name="user-exp-month">
<option value="1">1 - January</option>
<option value="2">2 - February</option>
<option value="3">3 - March</option>
<option value="4">4 - April</option>
<option value="5">5 - May</option>
<option value="6">6 - June</option>
<option value="7">7 - July</option>
<option value="8">8 - August</option>
<option value="9">9 - September</option>
<option value="10">10 - October</option>
<option value="11">11 - November</option>
<option value="12">12 - December</option>
</select>
<label for="exp-year">Expiration Year:</label>
<select id="exp-year" name="user-exp-year">
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
</select>
</div>
<div id="paypal" class="paypal">
<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">
<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>