-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (69 loc) · 2.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<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=Paytone+One&display=swap" rel="stylesheet">
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="stylesheet" href="style.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GP CALCULATOR</title>
</head>
<body>
<header>
<div>
<i class="bi bi-calculator"></i>
<h1>GP CALCULATOR</h1>
<i class="bi bi-calculator"></i>
</div>
<p>FOR SCHOOLS USING (5.0)</p>
</header>
<div class="wrapper">
<div class="row">
<div class="col"><input id="courseCode" class="form-control" type="text" placeholder="Course Code"></div>
<div class="col"><input id="unitValue" class="form-control" type="number" placeholder="Unit(s)" min="1"
max="15"></div>
<div class="col"><select id="grade" class="form-control">
<option value="">Grade</option>
<option value="5">A</option>
<option value="4">B</option>
<option value="3">C</option>
<option value="2">D</option>
<option value="1">E</option>
<option value="0">F</option>
</select>
</div>
<div class="col"><input id="add" class="btn btn-primary" type="button" value="Add"></div>
</div>
<div class="tabled">
<table id="table" class="table table-bordered display-none">
<thead>
<tr>
<th>Course Code</th>
<th>No of Unit(s)</th>
<th>Grade</th>
</tr>
</thead>
<tbody id="tbody"></tbody>
<tfoot id="tfoot"></tfoot>
</table>
</div>
<div class="row">
<div class="col">
<input id="calcGp" class="btn btn-success display-none" type="button" value="Calc gp">
</div>
<div class="col">
<input id="reset" class="btn btn-warning display-none" type="button" value="Reset" >
</div>
</div>
<button id="fourPoint" class="btn btn-warning">USE 4.0</button>
</div>
<footer>
<h6 id="ourName">DEVELOPED BY Group 4(GSE 301)</a>
</h6>
</footer>
<script src="main.js"></script>
</body>
</html>