-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (55 loc) · 2.2 KB
/
index.html
File metadata and controls
65 lines (55 loc) · 2.2 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css?family=Quicksand:400,500,700&display=swap" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/all.min.js"></script>
<link rel="icon" type="image/ico" href="favicon.ico" />
<link rel="manifest" href="./manifest.json" crossOrigin="use-credentials" />
<link rel=" stylesheet" href="./style.css" />
<title>Lazy GPA</title>
</head>
<body>
<div class="wrapper">
<header>
<h1 class="title">
<a href="https://harshinvader.github.io/GPA-Calculator/"><i class="fas fa-percentage"></i>
Lazy GPA</a>
</h1>
</header>
<form>
<input type="text" class="boxi subject" placeholder="Subject Name" />
<input type="number" pattern="[0-9]*" inputmode="numeric" class="boxi credit" placeholder="Credits of Subject"
required />
<input required type="number" pattern="[0-9]*" inputmode="numeric" class="boxi percentage"
placeholder="Marks Out of 100 " required />
<button class="button addButton" type="submit">
<i class="fas fa-plus-circle"></i><b> Add Subject</b>
</button>
</form>
<div class="container">
<ul class="list"></ul>
<button class="button calcButton" type="submit">
<i class="fas fa-calculator"></i><b> Calculate GPA</b>
</button>
</div>
<div class="label">
Your GPA is
<div class="result"> </div>
</div>
</div>
<div class="footer">
<br /><b>Make sure you add at least 1 subject before pressing the calculate
button and not leave any empty fields.</b>
<br /><br />
Developed by Shivanshu and Sriharsha from and for NMIMS.
<a href="https://github.com/HarshInvader/GPA-Calculator">View code on <i class="fab fa-github"></i></a><br /><br />
<button class="clearStorage" onclick="localStorage.clear(); window.location.reload();">
<i class="fas fa-exclamation-circle"></i> In case of errors, click
here to reset local storage and values.
</button>
</div>
</body>
<script src="./app.js"></script>
</html>