-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-a-survey-form.txt
281 lines (256 loc) · 6.45 KB
/
build-a-survey-form.txt
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
** start of undefined **
<DOCTYPE!html>
<html lang="en">
<!-- FORMATO CSS-->
<head>
<link rel="stylesheet" href="styles.css" />
</head>
<!-- ENCABEZADO-->
<body >
<div class="container">
<header class="header">
<h1 id="title" class="text-center">Loren </h1>
<p id="description" class="description text-center"> Gracias por contactarnos, dejanos tu comentario por aca!</p>
</header>
<!-- INICIO FORMULARIO-->
<form id="survey-form">
<!--ASUNTO-->
<div class="form-group">
<label>Asunto</label>
<select id="dropdown" name="role" class="form-control" required>
<option disabled selected value>En que podemos ayudarte?</option>
<option value="Consulta">Consulta</option>
<option value="Reclamos">Reclamos</option>
<option value="Sugerencias">Sugerencias</option>
<option value="Otros">Otros</option>
</select>
</div>
<hr>
<!--COMENTARIOS-->
<div class="form-group">
<textarea
id="comments"
class="input-textarea"
name="comment"
placeholder="Gracias por ayudarnos a crecer..."></textarea>
</div>
<form id="survey-form">
<!--NOMBRE-->
<div class="form-group">
<label id="name-label" for="name">Nombre<input
id="name"
name="name"
type="text"
class="form-control"
placeholder="Ingrese su nombre"
required></input></label>
</div>
<!--APELLIDO-->
<div class="form-group">
<label id="lastname-label" for="lastname">Apellido<input
id="lastname"
name="lastname"
type="text"
class="form-control"
placeholder="Ingrese su apellido"
required></input></label>
</div>
<!--EMAIL-->
<div class="form-group">
<label id="email-label" for="email">Email<input
id="email"
name="email"
type="email"
class="form-control"
placeholder="Ingrese su email"
required></input></label>
</div>
<!--TELEFONO-->
<div class="form-group">
<label id="number-label" for="number">Telefono<input
min="10"
max="12"
id="number"
name="number"
type="number"
class="form-control"
placeholder="Ingrese su telefono"
required></input></label>
</div>
<hr>
<!--RECOMENDACION-->
<div class="form-group">
<p>Nos recomendarias?</p>
<label>
<input
name="user-recommend"
value="definitely"
type="radio"
class="input-radio"
checked
/>Definitivamente</label
>
<label>
<input
name="user-recommend"
value="maybe"
type="radio"
class="input-radio"
/>Quiza</label
>
<label
><input
name="user-recommend"
value="not-sure"
type="radio"
class="input-radio"
/>No estoy seguro</label
>
</div>
<!--PREFERENICIAS-->
<div class="form-group">
<p>Que te gusto mas?</p>
<label
><input
name="prefer"
value="front-end-projects"
type="checkbox"
class="input-checkbox"
/>Desayunos</label
>
<label>
<input
name="prefer"
value="back-end-projects"
type="checkbox"
class="input-checkbox"
/>Box especiales</label>
<label>
<input
name="prefer"
value="back-end-projects"
type="checkbox"
class="input-checkbox"
/>Cuadros</label>
<label>
<input
name="prefer"
value="back-end-projects"
type="checkbox"
class="input-checkbox"
/>Agendas y Libros</label>
</div>
<hr>
<div>
<label>
<b >*Todos los campos son obligatorios*</b>
</label>
<!--BOTON ENVIAR-->
<div class="form-group">
<button
type="submit"
id="submit" class="submit-button">
Enviar
</button>
</div>
</div>
</form>
</div>
</body>
</html>
** end of undefined **
** start of undefined **
:root {
--color-white: #f3f3f3;
--color-darkblue: #1b1b32;
--color-darkblue-alpha: rgba(27, 27, 50, 0.8);
--color-green: #37af65;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
background:#e0ebeb;
font-family: 'Poppins', sans-serif;
font-size: 1rem;
font-weight: 400;
line-height: 1.4;
color: #4d1a00;
margin: 0;
}
.description {
text-align:center;
font-style: italic;
font-weight: 200;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: -1;
background: var(--color-darkblue);
background-image: linear-gradient(
115deg,
#d1d1e0,
rgba(136, 136, 206, 0.7)
);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
h1{
background-color:#006666;
color:white;
text-align:center;
font-family:sans-serif;
font-size:55px;
text-shadow: #474747 3px 5px 2px;}
.form-control {
width: 50%;
margin-top:5px;
margin-left:25px;
height: 2.375rem;
padding: 0.375rem 0.75rem;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
border-color: #ffff99;
outline: 0;
box-shadow: 0 0 0 0.2rem #ffff99;
}
.submit-button {
font-size:15px;
width: 40%;
padding: 0.75rem;
background-color:#006666;
color:white;
border-radius: 15px;
cursor: pointer;
}
.input-radio,
.input-checkbox {
display: inline-block;
margin-right: 0.625rem;
min-height: 1.25rem;
min-width: 1.25rem;
}
#survey-form{
margin:auto;
padding-left:15px;
width:60%;
height:70%;
background-color:white;
border-radius: 10px;
}
** end of undefined **