-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstudentLowerMark.html
More file actions
33 lines (28 loc) · 1 KB
/
studentLowerMark.html
File metadata and controls
33 lines (28 loc) · 1 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Low Marks</title>
<link rel="stylesheet" href="style.css">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<script type="module">
import students from './students.mjs';
import { filterStudentsWithLowMarks } from './lowerMark.mjs';
import { generateTableHTML } from './renderTable.mjs';
const studentsWithLowMarks = filterStudentsWithLowMarks(students);
document.getElementById('student-table').innerHTML = generateTableHTML(studentsWithLowMarks);
</script>
</head>
<body>
<div class="mt-4">
<a href="index.html" class="btn btn-primary">Back to Index</a>
</div>
<h1 class="text-center mt-5">Students with Low Marks</h1>
<div class="container mt-5">
<section id="student-table">
<!-- Student rows will be inserted here -->
</section>
</div>
</body>
</html>