-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (63 loc) · 2.03 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
<!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" />
<title>covid patient tracking </title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="content">
<form onsubmit="handleSubmit()" class="form" >
<div class="field">
<label for="firstname">First Name:</label><label class="validation-error hide" id="firstNameValidationError">This field is required</label>
<input class="input" type="text" id="firstName" required/>
</div>
<div class="field">
<label for="lastname">Last Name:</label>
<input class="input" type="text" id="lastName" required/>
</div>
<div class="field">
<label for="email">Email:</label>
<input class="input" type="email" id="email" required />
</div>
<div class="field">
<label >Gender:</label>
<select name="male,female" id="gender" class="input" required>
<option value>Select your gender</option>
<option value="male" name="male" >Male</option>
<option value="female" name="female" >Female</option>
</select>
</div>
<p><input type="checkbox" required id="travel" value="No" required/> <span>Recently came into Nigeria in the last 14 days?</span></p>
<div class="submit-bd">
<button id="submit" class="submit">Submit</button>
</div>
</form>
<table class="list" id="patientId">
<thead>
<tr>
<th>Name</th>
<th>Email address</th>
<th>Gender</th>
<th>Came in Nigeria within the last 14days?</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<!-- <td>Habeeb Makusota</td>
<td>h.makusota@yahoo.com</td>
<td>male</td>
<td>No</td>
<td><button type="button" class="edit">Edit</button></td>
<td><button type="button" class="delete">Delete</button></td> -->
</tr>
</tbody>
</table>
</div>
<script src="scripts.js"></script>
</body>
</html>