forked from melekbattal/Survey_Form
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
283 lines (249 loc) · 10.5 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
273
274
275
276
277
278
279
280
281
282
283
<html lang="tr">
<head>
<meta charset="UTF-8">
<style>
body {
background-image: url(https://homebusinessmag.com/wp-content/uploads/2020/01/blur-bottle-bright-building-273238.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
font-family:Verdana, Geneva, Tahoma, sans-serif;
color: var(--color-white);
font-weight: normal;
}
h1 {
font-weight: 400;
line-height: 1.2;
}
#title {
font-size: 30px;
text-align: center;
color: rgba(8, 97, 8, 0.37);
font-variant:small-caps;
text-decoration: underline;
}
#description {
font-size: 20px;
font-style: italic;
font-weight: 200;
color:rgb(39, 70, 57);
text-shadow: 1px 1px 1px rgba(36, 102, 16, 0.37);
text-align: center;
}
p.double {
outline-style: double;
color: darkgreen;
font-weight: bold;
}
label {
display: flex;
align-items: center;
font-weight: b;
}
.submit-button {
display: block;
width: 100%;
padding: 0.75rem;
background: var(--color-green);
color:seagreen;
border-radius: 2px;
cursor: pointer;
}
.reset-button {
display: block;
width: 100%;
padding: 0.75rem;
background: var(--color-green);
color:seagreen;
border-radius: 2px;
}
form {
padding: 40px 40px 40px 40px;
}
.form-control{
display: block;
width: 100%;
height: 2.375rem;
padding: 0.375rem 0.75rem;
color:aquamarine;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #085a1a;
border-radius: 0.rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
border-color:plum;
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(5, 151, 196, 0.25);
}
#differentidentity {
height:100%;
max-width:70px
}
.container {
width: 100%;
margin: 3.125rem auto 0 auto;
}
@media (min-width: 576px) {
.container {
max-width: 540px;
}
}
@media (min-width: 768px) {
.container {
max-width: 720px;
}
}
.input-textarea {
min-height: 120px;
width: 100%;
padding: 0.625rem;
resize: vertical;
}
</style>
</head>
<body>
<div class="container">
<header class="header">
<h1 id="title" class="text-center"> Coronovirus working from home survey </h1>
<p id="description"class="description-text-center"> Thank you for taking time to help us this survey</p>
</header>
<form id="survey-form"></br>
<div class="form-group">
<label id="name-label" for="name">Name</label>
<input
type="text"
name="name"
id="name"
class="form-control"
placeholder="Enter Your Name or Nickname"
required
/></br>
</div>
<div>
<div class="form-group">
<label id="location-label" for="location">Location</label>
<input
type="text"
name="location"
id="location"
class="form-control"
placeholder="Where do you live?"
required
/></br>
</div>
<div class="form-group">
<label id="job-label" for="job">Job</label>
<input
type="text"
name="job"
id="job"
class="form-control"
placeholder="What do you do for living?"
required
/></br>
</div>
<div class="form-group">
<label id="email-label" for="email">Enter your email:</label>
<input type="email"
name="email"
id="email"
class="form-control"
placeholder="Enter your email"
required
/></br>
</div>
<div class="form-group">
<label id="number-label" for="number">Age <span class="clue">(optional)</span></label>
<input
type="number" min="15" max="65"
name="age"
id="number"
placeholder="Age"
class="form-control"
/></br>
</div>
<div class="form-group">
<p>What's your gender?</p>
<label id="gender">
<input type="radio"name="gender" value="Female"required>Female
</label>
<input type="radio"name="gender" value="Male" required>Male
<label>
<input type="radio"name="gender" value="Transgender" required>Transgender
</label>
<label>
<input type="radio"name="gender" value="Non-binary" required>Non-binary
</label>
<label>
<input type="radio" name="gender" value="Prefer-not-to-answer" required>Prefer not to answer
</label>
<label for="differentidentity">
<input type="radio"name="gender" value="1" required> Different identity (Please specify)
<input type="text" class="form-control" id="differentidentity">
</label> </br>
</div>
<div class="form-group">
<label id=""> Are you working from home? </label>
<select id="dropdown" name="dropdownanswer">
<option value="fromhome"> Yes</option>
<option value="fromoffice">No</option>
<option value="Parttimefromhome">Sometimes from home</option>
</select>
</div>
</br>
<div class="form-group">
<div id="button-area">
<label id="job-satisfaction-label">
<p class="double">How would you describe your overall level of job satisfaction?</p></label> </br>
<input type="radio" name="choise" value="very-satisfied">Very satisfied<br>
<input type="radio" name="choise" value="somewhat-satisfied">Somewhat satisfied<br>
<input type="radio" name="choise" value="Neutral" >Neutral<br>
<input type="radio" name="choise" value="Somewhat-dissatisfied" >Somewhat dissatisfied<br>
<input type="radio" name="choise" value="Very-dissatisfied" >Very dissatisfied<br>
</div> </br>
</div>
<div class="form-group">
<div id="button-area">
<label id="challenges-label">
<p class="double">What are the challenges you are currently facing while working from home?</p></label> </br>
<input type="checkbox" name="choise1" value="1">I don't have access to the tools I need to do my job at home<br>
<input type="checkbox" name="choise2" value="2">Childcare<br>
<input type="checkbox" name="choise3" value="3" >Internet connectivity<br>
<input type="checkbox" name="choise4" value="4" >Too many distractions at home<br>
<input type="checkbox" name="choise5" value="5" >Social isolation<br>
<input type="checkbox" name="choise6" value="5" >Other (Please specify)<br>
<input type="text" class="form-control" id="challenges-other">
</div> </br>
</div>
<div class="form-group">
<p class="double">Do you have all the equipment you need in order to do your work from home?</p>
<label>
<input type="radio" name="user-recommend" value="Yes" class="input-radio">Yes
</label>
<label>
<input type="radio"name="user-recommend" value="No" class="input-radio">No
</label> </br>
</div>
<div class="form-group">
<p class="double">
What else do you need to do your job well while working remotely?
</p>
<textarea name="need-your-job" id="need-your-job" class="input-textarea" ></textarea></br>
</div>
<div class="form-group">
<p class="double">Any comments or suggestions?</p>
<textarea name="comment" id="comment" class="input-textarea" placeholder="Additional Comments"></textarea><br>
</div>
<div class="form-group">
<input type="submit" id="submit" class="submit-button">
</div>
<div class="form-group">
<input type="reset" id="reset" class="reset-button">
</div>
</form>
</div>
<script type="text/javascript" src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</body>
</html>