-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-1st_1st_semester.html
128 lines (102 loc) · 5.39 KB
/
index-1st_1st_semester.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- ===== BOX ICONS ===== -->
<link href='https://cdn.jsdelivr.net/npm/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<!-- ===== CSS ===== -->
<link rel="stylesheet" href="assets/css/styles.css">
<title>1st Year 1st Semester</title>
</head>
<body id="body-pd">
<header class="header" id="header">
<div class="header__toggle">
<i class='bx bx-menu' id="header-toggle"></i>
</div>
<div class="header__img">
<img src="assets/img/perfil.jpg" alt="">
</div>
</header>
<div class="l-navbar" id="nav-bar">
<nav class="nav">
<div>
<a href="https://hellomahmudul.github.io/GPA-Calculator/" class="nav__logo">
<i class='bx bx-layer nav__logo-icon'></i>
<span class="nav__logo-name">Bedimcode</span>
</a>
<div class="nav__list">
<a href="https://hellomahmudul.github.io/GPA-Calculator/" class="nav__link active">
<i class='bx bx-grid-alt nav__icon' ></i>
<span class="nav__name">Dashboard</span>
</a>
<a href="#" class="nav__link">
<i class='bx bx-user nav__icon' ></i>
<span class="nav__name">Users</span>
</a>
<a href="#" class="nav__link">
<i class='bx bx-message-square-detail nav__icon' ></i>
<span class="nav__name">Messages</span>
</a>
<a href="#" class="nav__link">
<i class='bx bx-bookmark nav__icon' ></i>
<span class="nav__name">Favorites</span>
</a>
<a href="#" class="nav__link">
<i class='bx bx-folder nav__icon' ></i>
<span class="nav__name">Data</span>
</a>
<a href="#" class="nav__link">
<i class='bx bx-bar-chart-alt-2 nav__icon' ></i>
<span class="nav__name">Analytics</span>
</a>
</div>
</div>
<a href="#" class="nav__link">
<i class='bx bx-log-out nav__icon' ></i>
<span class="nav__name">Log Out</span>
</a>
</nav>
</div>
<form id="gpaForm">
<h2>1st Year 1st Semester</h2>
<hr />
<br />
<!-- Replace the placeholders with your actual course names -->
<label for="course1">EEE-101: Electrical Circuit I</label>
<input type="text" value="3.00" id="ce1" placeholder="Credit" readonly />
<input type="number" pattern="[0-9]*" id="ge1" placeholder="Grade Point" required />
<label for="course2">EEE-102: Electrical Circuit I Lab</label>
<input type="text" value="1.50" id="ce2" placeholder="Credit" readonly />
<input type="number" pattern="[0-9]*" id="ge2" placeholder="Grade Point" required />
<label for="course3">CSE-101: Computer Programming</label>
<input type="text" value="3.00" id="cc1" placeholder="Credit" readonly/>
<input type="number" pattern="[0-9]*" id="gc1" placeholder="Grade Point" required/>
<label for="course4">CSE-102: Computer Programming Lab</label>
<input type="text" value="1.50" id="cc2" placeholder="Credit" readonly/>
<input type="number" pattern="[0-9]*" id="gc2" placeholder="Grade Point" required/>
<label for="course5">CSE-104: Computer Aided Engineering Drawing</label>
<input type="text" value="1.50" id="aut1" placeholder="Credit" readonly/>
<input type="number" pattern="[0-9]*" id="aug1" placeholder="Grade Point" required/>
<label for="course6">MATH-101: Differential And Intigral Calculus</label>
<input type="text" value="3.00" id="cm1" placeholder="Credit" readonly/>
<input type="number" pattern="[0-9]*" id="gm1" placeholder="Grade Point" required/>
<label for="course7">PHY-101: Physics</label>
<input type="text" value="3.00" id="cp1" placeholder="Credit" readonly/>
<input type="number" pattern="[0-9]*" id="gp1" placeholder="Grade Point" required/>
<label for="course8">HUM-101: Nazrul Studies</label>
<input type="text" value="3.00" id="ch1" placeholder="Credit" readonly/>
<input type="number" pattern="[0-9]*" id="gh1" placeholder="Grade Point" required/>
<!-- Repeat the above pattern for other courses -->
<button type="button" onclick="calculateGPAAndScroll()">Calculate GPA</button>
</form>
<br /><br />
<div class="result" id="resultContainer" style="display: none">
<h2>Your 1st Semester Result</h2>
<br />
<!-- Display results here using JavaScript -->
</div>
<!--===== MAIN JS =====-->
<script src="assets/js/main.js"></script>
</body>
</html>