-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (64 loc) · 2.13 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
<!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>Grade Calc</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>Grade Calculator</h1>
<div class="input_grp">
<input type="number" id="inp">
<button onclick="handlesubmit()">Add</button>
</div>
<table class="table table-striped">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Grade</th>
<th scope="col">Count</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>A</td>
<td id="a_count">0</td>
</tr>
<tr>
<th scope="row">2</th>
<td>B+</td>
<td id="bp_count">0</td>
</tr>
<tr>
<th scope="row">3</th>
<td>B</td>
<td id="b_count">0</td>
</tr>
<tr>
<th scope="row">4</th>
<td>B-</td>
<td id="bm_count">0</td>
</tr>
<tr>
<th scope="row">5</th>
<td>C</td>
<td id="c_count">0</td>
</tr>
<tr>
<th scope="row">6</th>
<td>F</td>
<td id="f_count">0</td>
</tr>
</tbody>
</table>
</div>
<script src="./app.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script>
</body>
</body>
</html>