-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (72 loc) · 1.72 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!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" />
<!-- External CSS -->
<link rel="stylesheet" type="text/css" href="assets/style.css">
<!-- External CSS -->
<title>School Managment System</title>
<style>
* {
box-sizing:border-box;
}
.main {
justify-content: center;
margin: auto;
width:60%; /* The width is 60%, by default */
}
/* Use a media query to add a break point at 800px: */
@media screen and (max-width:800px) {
.main {
width:100%; /* The width is 100%, when the viewport is 800px or smaller */
}
}
</style>
</head>
<body>
<div class = "main">
<form onsubmit="event.preventDefault();onFormSubmit();" autocomplete="off">
<h1>School Managment System </h1>
<h2> Student GPA Form </h2>
<div>
<label>Student Name:</label>
<input type="text" name="name" id="name" />
</div>
<label class="validation-error hide" id="nameValidationError">! This field is required.</label>
<div>
<label>Student ID:</label>
<input type="number" name="idNumber" id="idNumber" />
</div>
<div>
<label>Student GPA:</label>
<input type="number" name="gpa" id="gpa" />
</div>
<div class="form-action-buttons">
<input type="submit" value="Submit">
</div>
</form>
</div>
</br>
<div class="main">
<table class="list" id="studentList">
<thead>
<tr>
<th>Student Name</th>
<th>Student ID</th>
<th>Student GPA</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</td>
</tr>
</table>
</div>
<script src="./src/main.js"></script>
</body>
</html>