-
Notifications
You must be signed in to change notification settings - Fork 1
/
file_input.html
64 lines (50 loc) · 2.33 KB
/
file_input.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>File input form</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css"
integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"
integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T"
crossorigin="anonymous"></script>
<script src="jquery_min.js"></script>
</head>
<body class="bg-light">
<h3 class="timer">
<span class="nowrap" id="timeLeft">Time left:</span>
<span class="nowrap" id="countdown"></span>
</h3>
<div class="container" style="padding-top: 90px;">
<h2>Hello! Please fill out the form with information about yourself: </h2>
<form action="#" method="get" onsubmit="showResult(2208)" style="margin-top: 40px;">
<div class="form-group">
<label>First name* </label>
<input type="text" name="firstname" class="form-control" placeholder="Enter first name" required maxlength="32">
<label>Last name*</label>
<input type="text" name="lastname" class="form-control" placeholder="Enter last name" required
maxlength="32">
<label>Email * </label>
<input type="text" name="email" class="form-control" placeholder="Enter email" maxlength="32" required>
</div>
<label>Attach your short bio below</label>
<br>
<label for="file">Choose file to upload:
</label>
<input type="file" id="file" name="file" accept=".txt" required>
<br>
<button type="submit" class="btn btn-primary" style="margin-top: 40px;">Submit</button>
</form>
</div>
</body>
</html>
<script>
var isFinished = false;
countDown(3);
</script>