-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathp3.html
372 lines (318 loc) · 8.54 KB
/
p3.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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Debug Challenge - Form</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<style>
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Open Sans', 'Helvetica Neue', sans-serif;
}
*, ::before, ::after{
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x: ;
--tw-pan-y: ;
--tw-pinch-zoom: ;
--tw-scroll-snap-strictness: proximity;
--tw-gradient-from-position: ;
--tw-gradient-via-position: ;
--tw-gradient-to-position: ;
--tw-ordinal: ;
--tw-slashed-zero: ;
--tw-numeric-figure: ;
--tw-numeric-spacing: ;
--tw-numeric-fraction: ;
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgb(59 130 246 / 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur: ;
--tw-brightness: ;
--tw-contrast: ;
--tw-grayscale: ;
--tw-hue-rotate: ;
--tw-invert: ;
--tw-saturate: ;
--tw-sepia: ;
--tw-drop-shadow: ;
--tw-backdrop-blur: ;
--tw-backdrop-brightness: ;
--tw-backdrop-contrast: ;
--tw-backdrop-grayscale: ;
--tw-backdrop-hue-rotate: ;
--tw-backdrop-invert: ;
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia:
}
::backdrop{
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x: ;
--tw-pan-y: ;
--tw-pinch-zoom: ;
--tw-scroll-snap-strictness: proximity;
--tw-gradient-from-position: ;
--tw-gradient-via-position: ;
--tw-gradient-to-position: ;
--tw-ordinal: ;
--tw-slashed-zero: ;
--tw-numeric-figure: ;
--tw-numeric-spacing: ;
--tw-numeric-fraction: ;
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgb(59 130 246 / 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur: ;
--tw-brightness: ;
--tw-contrast: ;
--tw-grayscale: ;
--tw-hue-rotate: ;
--tw-invert: ;
--tw-saturate: ;
--tw-sepia: ;
--tw-drop-shadow: ;
--tw-backdrop-blur: ;
--tw-backdrop-brightness: ;
--tw-backdrop-contrast: ;
--tw-backdrop-grayscale: ;
--tw-backdrop-hue-rotate: ;
--tw-backdrop-invert: ;
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia:
}
.float-right{
float: right
}
.my-10{
margin-top: 2.5rem;
margin-bottom: 2.5rem
}
.mr-4{
margin-right: 1rem
}
.flex{
display: flex
}
.grid{
display: grid
}
.h-40{
height: 10rem
}
.min-h-screen{
min-height: 100vh
}
.max-w-md{
max-width: 28rem
}
.items-center{
align-items: center
}
.justify-center{
justify-content: center
}
.gap-2{
gap: 0.5rem
}
.gap-4{
gap: 1rem
}
.space-y-4 > :not([hidden]) ~ :not([hidden]){
--tw-space-y-reverse: 0;
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(1rem * var(--tw-space-y-reverse))
}
.rounded-md{
border-radius: 0.375rem
}
.rounded-xl{
border-radius: 0.75rem
}
.rounded-t-xl{
border-top-left-radius: 0.75rem;
border-top-right-radius: 0.75rem
}
.border-2{
border-width: 2px
}
.border-dashed{
border-style: dashed
}
.border-gray-300{
--tw-border-opacity: 1;
border-color: rgb(209 213 219 / var(--tw-border-opacity))
}
.border-gray-400{
--tw-border-opacity: 1;
border-color: rgb(156 163 175 / var(--tw-border-opacity))
}
.bg-\[\#fff4fb\]{
--tw-bg-opacity: 1;
background-color: rgb(255 244 251 / var(--tw-bg-opacity))
}
.bg-\[rgb\(255\2c 131\2c 174\)\]{
--tw-bg-opacity: 1;
background-color: rgb(255 131 174 / var(--tw-bg-opacity))
}
.bg-pink-200{
--tw-bg-opacity: 1;
background-color: rgb(251 207 232 / var(--tw-bg-opacity))
}
.bg-white{
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity))
}
.px-4{
padding-left: 1rem;
padding-right: 1rem
}
.py-2{
padding-top: 0.5rem;
padding-bottom: 0.5rem
}
.py-3{
padding-top: 0.75rem;
padding-bottom: 0.75rem
}
.py-4{
padding-top: 1rem;
padding-bottom: 1rem
}
.pb-8{
padding-bottom: 2rem
}
.pl-2{
padding-left: 0.5rem
}
.pr-36{
padding-right: 9rem
}
.pt-4{
padding-top: 1rem
}
.text-left{
text-align: left
}
.text-sm{
font-size: 0.875rem;
line-height: 1.25rem
}
.text-xl{
font-size: 1.25rem;
line-height: 1.75rem
}
.font-bold{
font-weight: 700
}
.font-extralight{
font-weight: 200
}
.font-light{
font-weight: 300
}
.font-semibold{
font-weight: 600
}
.font-thin{
font-weight: 100
}
.text-\[\#181028\]{
--tw-text-opacity: 1;
color: rgb(24 16 40 / var(--tw-text-opacity))
}
.text-gray-500{
--tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity))
}
.text-white{
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity))
}
.shadow-xl{
--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}
.shadow-pink-300{
--tw-shadow-color: #f9a8d4;
--tw-shadow: var(--tw-shadow-colored)
}
.transition-all{
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms
}
.hover\:bg-\[rgb\(255\2c 131\2c 174\)\]:hover{
--tw-bg-opacity: 1;
background-color: rgb(255 131 174 / var(--tw-bg-opacity))
}
.hover\:bg-gray-200:hover{
--tw-bg-opacity: 1;
background-color: rgb(229 231 235 / var(--tw-bg-opacity))
}
.hover\:text-2xl:hover{
font-size: 1.5rem;
line-height: 2rem
}
.hover\:underline:hover{
text-decoration-line: underline
}
@media (min-width: 768px){
.md\:max-w-lg{
max-width: 32rem;
}
}
</style>
<script>
</script>
</head>
<body>
<p class="bg-[#fff4fb]" style="margin: 0;">Make the 'Upload files' button functional. Cicking it should open a file manager window on your laptop/PC. Write your code in the script tag in the head section (line342).</p>
<div class="bg-[#fff4fb] flex justify-center items-center min-h-screen">
<div class="text-[#181028] space-y-4 shadow-xl shadow-pink-300 rounded-xl max-w-md md:max-w-lg">
<h1 class="bg-[rgb(255,131,174)] py-4 pl-2 text-white rounded-t-xl font-thin text-xl">Send us a message
<span class="material-symbols-outlined float-right mr-4 font-extralight text-xl">mail</span></h1>
<div class="flex justify-center gap-4 pt-4 px-4 pb-8">
<form class="grid justify-center gap-2">
<label class="font-semibold text-gray-500 text-sm">YOUR NAME</label>
<input type="text" class="border-2 rounded-md pr-36 text-left py-2 text-sm" name="name" placeholder=" Jonathan Seagull"><br>
<label class="font-semibold text-gray-500 text-sm">EMAIL ADDRESS</label>
<input type="email" class="border-2 rounded-md pr-36 text-left py-2 text-sm" name="e-mail" placeholder=" [email protected]"><br>
<label class="font-semibold text-sm text-gray-500">MESSAGE</label>
<textarea class="border-gray-300 border-2 rounded-md h-40 text-sm" placeholder="Your message here"></textarea><br>
<input type="button" id="btnFileUpload" value="Upload files" class="w-m rounded-md py-3 font-light border-2 border-dashed border-gray-400 text-gray-500 hover:text-2xl hover:bg-gray-200 hover:underline transition-all">
<span id="spnFilePath"></span>
<input type="file" id="FileUpload1" style="display: none" />
<input type="submit" class="w-m rounded-md py-3 font-bold bg-pink-200 text-white hover:bg-[rgb(255,131,174)] transition-all">
</form>
</div>
</div>
</div>
</body>
</html>