-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
105 lines (93 loc) · 4.55 KB
/
form.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<title>Form</title>
</head>
<body id="homepage">
<div class="container" >
<h1 class="p-3 text-center">Let us hear your concerns</h1>
<form action="./eugene.html" onsubmit="redirect()">
<div class="row">
<div class="col-md-6">
<label for="firstName" class="form-label">First Name</label>
<input type="text" id="firstName" class="form-control" required>
</div>
<div class="col-md-6">
<label for="lastName" class="form-label">Last Name</label>
<input type="text" id="lastName" class="form-control" required>
</div>
</div>
<div class="row">
<div class="col-md-4">
<label for="studentId" class="form-label">Student ID</label>
<input type="text" id="studentID" class="form-control" required>
</div>
<div class="col-md-4">
<label for="level" class="form-label">Level of Study</label>
<select class="form-select" id="level">
<option value="100">100</option>
<option value="200">200</option>
<option value="300">300</option>
<option value="400">400</option>
</select>
</div>
<div class="col-md-4">
<label for="roomNo" class="form-label">Room Number</label>
<input type="text" id="roomNo" class="form-control" required>
</div>
</div>
<div class="row">
<div class="col-md-6">
<label for="email" class="form-label">Email</label>
<input type="email" id="email" class="form-control">
</div>
<div class="col-md-6">
<label for="phone" class="form-label">Phone Number</label>
<input type="tel" id="phone" class="form-control" placeholder="+233-123-456-789">
</div>
</div>
<div class="row">
<div class="col-md-6">
<label for="program" class="form-label">Program of Study</label>
<input type="text" id="program" class="form-control">
</div>
<div class="col-md-6">
<label for="sex" class="form-label">Sex</label>
<select class="form-select" id="sex" required>
<option value="Female">Female</option>
<option value="Male">Male</option>
</select>
</div>
</div>
<div class="row pt-3">
<div class="col-12">
<label for="complaint">What's your complaint?</label>
<textarea id="complaint" cols="30" rows="7" class="form-control" required></textarea>
</div>
</div>
<div class="col-12 pt-3">
<button class="btn btn-dk-gray btn-lg" type="submit" id="submit-btn"><a href="/eugene.html"></a>Submit</button>
</div>
</form>
</div>
<script>
function redirect() {
window.location.href = 'eugene.html'
}
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
</body>
</html>