-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (42 loc) · 2.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css" />
</head>
<body id="body">
<h1 id="headline">CGPA CALCULATOR</h1>
<h3 id="subhead">Filling all fields is mandatory*</h3>
<label for="subs" class="subh">Number of Subjects -</label> <br>
<input type="number" id="num0" name="num" placeholder="Number of Subjects" class="in">
<input type="button" value="Enter" class="but"> <br><br>
<label for="subs" class="subh">Marks of Subject 1 -</label> <br>
<input type="number" id="num1" name="num" placeholder="Marks of Subject 1" class="in">
<input type="button" value="Enter" class="but"> <br><br>
<label for="subs" class="subh">Marks of Subject 2 -</label> <br>
<input type="number" id="num2" name="num" placeholder="Marks of Subject 2" class="in">
<input type="button" value="Enter" class="but"> <br><br>
<label for="subs" class="subh">Marks of Subject 3 -</label> <br>
<input type="number" id="num3" name="num" placeholder="Marks of Subject 3" class="in">
<input type="button" value="Enter" class="but"> <br><br>
<label for="subs" class="subh">Marks of Subject 4 -</label> <br>
<input type="number" id="num4" name="num" placeholder="Marks of Subject 4" class="in">
<input type="button" value="Enter" class="but"> <br><br>
<label for="subs" class="subh">Marks of Subject 5 -</label> <br>
<input type="number" id="num5" name="num" placeholder="Marks of Subject 5" class="in">
<input type="button" value="Enter" class="but"> <br><br>
<label for="subs" class="subh">Marks of Subject 6 -</label> <br>
<input type="number" id="num6" name="num" placeholder="Marks of Subject 6" class="in">
<input type="button" value="Enter" class="but"> <br><br>
<label for="subs" class="subh">Marks of Subject 7 -</label> <br>
<input type="number" id="num7" name="num" placeholder="Marks of Subject 7" class="in">
<input type="button" value="Enter" class="but"> <br><br>
<label for="subs" class="subh">Marks of Subject 8 -</label> <br>
<input type="number" id="num8" name="num" placeholder="Marks of Subject 8" class="in">
<input type="button" value="Enter" class="but"> <br><br>
<input type="button" onclick="finres()" value="Calculate CGPA" class="but"> <br><br>
<script src="index.js"></script>
</body>
</html>