-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (33 loc) · 1.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CGPA Calculator</title>
<meta name="description" content="Calculate your cumulative grade point average (CGPA) for first-year students based on Semester 1 and Semester 2 SGPA.">
<link rel="shortcut icon" href="./assets/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>CGPA Calculator</h1>
<form>
<label for="sem1">Sem 1 SGPA:</label>
<input type="text" id="sem1">
<label for="sem2">Sem 2 SGPA:</label>
<input type="text" id="sem2">
<button type="submit">Calculate</button>
<div class="result"></div>
</form>
<div class="guide">
<h3>Instructions :</h3>
<p class="bullet">This calculator is for 1st-year students.</p>
<p class="bullet">Enter your Sem 1 and Sem 2 SGPA to calculate your CGPA.</p>
</div>
<footer>
<p>Made by <a href="https://github.com/megh-bari" target="_blank">Megh Bari</a> | 17 July 2024</p>
</footer>
</div>
<script src="script.js"></script>
</body>
</html>