-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathindex.html
272 lines (268 loc) · 9.62 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
<!DOCTYPE html>
<html>
<head>
<title>SmartForm</title>
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<!-- Welcome -->
<div class="jumbotron" id="welcome">
<h1>Welcome to SmartForm!</h1>
<p>Front-end Technology Survey</p>
<p><button class="btn btn-primary btn-lg">Start Survey</button></p>
</div>
<!-- Welcome END -->
<!-- Question 1 -->
<div class="row jumbotron" id="q1">
<div class="col-sm-8">
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" id="name" placeholder="Name">
</div>
<div class="form-group">
<label for="email">Email address</label>
<input type="email" class="form-control" id="email" placeholder="Email">
</div>
<button class="btn btn-success">Next</button>
</div>
</div>
<!-- Question 1 END -->
<!-- Question 2 -->
<div class="row jumbotron" id="q2">
<div class="col-sm-10 q2">
<h2>Choose a front-end technology</h2>
<button class="btn btn-lg btn-warning">HTML</button>
<button class="btn btn-lg btn-danger">CSS</button>
<button class="btn btn-lg btn-info">JavaScript</button>
</div>
</div>
<!-- Question 2 END -->
<!-- Question 2a -->
<div class="row jumbotron" id="q2a">
<div class="col-sm-6">
<p>What do you <strong>like</strong> about HTML?</p>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Learning the basics is trivial
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> No hassle: write code in a text editor and open in Browser
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Tags are easy to remember
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> HTML5 features like canvas are powerful
</label>
</div>
</div>
<div class="col-sm-6">
<p>What do you <strong>dislike</strong> about HTML?</p>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Difficult to learn
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Having to close tags is annoying!
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Too many tags and attributes to remember
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Code looks pretty messy
</label>
</div>
<div class="btnRight">
<button class="btn btn-primary"><span class="glyphicon glyphicon-chevron-left"></span> Previous</button>
<button class="btn btn-success">Next <span class="glyphicon glyphicon-chevron-right"></span></button>
</div>
</div>
</div>
<!-- Question 2a END -->
<!-- Question 2b -->
<div class="row jumbotron" id="q2b">
<div class="col-sm-6">
<p>What do you <strong>like</strong> about CSS?</p>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Syntax is easy to learn
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Can be used as an art tool
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Enables creativity in web design
</label>
</div>
</div>
<div class="col-sm-6">
<p>What do you <strong>dislike</strong> about CSS?</p>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Difficult to learn
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Debugging is a nightmare
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Conflicts can be very confusing
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Code is messy
</label>
</div>
<div class="btnRight">
<button class="btn btn-primary"><span class="glyphicon glyphicon-chevron-left"></span> Previous</button>
<button class="btn btn-success">Next <span class="glyphicon glyphicon-chevron-right"></span></button>
</div>
</div>
</div>
<!-- Question 2b END -->
<!-- Question 2c -->
<div class="row jumbotron" id="q2c">
<div class="col-sm-6">
<p>What do you <strong>like</strong> about JavaScript?</p>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Easy to learn
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Multple programming styles supported
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Just code and run easily in the browser
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Huge growing community and plenty of resources online
</label>
</div>
</div>
<div class="col-sm-6">
<p>What do you <strong>dislike</strong> about JavaScript?</p>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Difficult to learn
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Multple programming paradigms supported (too many options)
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> Easy to right messy code
</label>
</div>
<div class="checkbox">
<label>
<input name="likesHTML" type="checkbox"> No multi threading
</label>
</div>
<div class="btnRight">
<button class="btn btn-primary"><span class="glyphicon glyphicon-chevron-left"></span> Previous</button>
<button class="btn btn-success">Next <span class="glyphicon glyphicon-chevron-right"></span></button>
</div>
</div>
</div>
<!-- Question 2c END -->
<!-- Question 3 -->
<div class="row jumbotron" id="q3">
<h4>Estimate your front-end skills</h4>
<div class="col-sm-4">
<span>HTML Strength</span>
<label class="radio">
<input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="Weak"> Weak
</label>
<label class="radio">
<input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="Average"> Average
</label>
<label class="radio">
<input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="Good"> Good
</label>
<label class="radio">
<input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="Expert"> Expert
</label>
</div>
<div class="col-sm-4">
<span>CSS Strength</span>
<label class="radio">
<input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="Weak"> Weak
</label>
<label class="radio">
<input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="Average"> Average
</label>
<label class="radio">
<input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="Good"> Good
</label>
<label class="radio">
<input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="Expert"> Expert
</label>
</div>
<div class="col-sm-4">
<span>JavaScript Strength</span>
<label class="radio">
<input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="Weak"> Weak
</label>
<label class="radio">
<input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="Average"> Average
</label>
<label class="radio">
<input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="Good"> Good
</label>
<label class="radio">
<input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="Expert"> Expert
</label>
<div class="btnRight">
<button class="btn btn-primary"><span class="glyphicon glyphicon-chevron-left"></span> Previous</button>
<button class="btn btn-success">Next <span class="glyphicon glyphicon-chevron-right"></span></button>
</div>
</div>
</div>
<!-- Question 3 END -->
<!-- Thank you -->
<div class="jumbotron" id="thanks">
<h1>Thank You!</h1>
<p>Your Front-end Technology Survey answers were submitted successfully.</p>
<p><button class="btn btn-default btn-lg">View Answers</button> <button class="btn btn-danger">Delete Answers</button></p>
</div>
<!-- Thank you END-->
<!-- Show answers in new view (div)
-
-
-->
</div>
<script type="text/javascript" src="vendor/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="smartForm.js"></script>
</body>
</html>