-
Notifications
You must be signed in to change notification settings - Fork 0
/
sem3.html
145 lines (128 loc) · 6.3 KB
/
sem3.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<!-- custom css file -->
<link rel="stylesheet" href="css/style.css">
<!-- actual logic is here -->
<script type="text/javascript" src="js/main.js"></script>
<title>Semester 3</title>
</head>
<body>
<header>
<nav class="navbar navbar-expand-sm navbar-dark bg-dark">
<a class="navbar-brand" href="index.html">Nirma SPI Calculator</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample03" aria-controls="navbarsExample03" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarsExample03">
<span class="text-muted">Coded by Sohel Shaikh © 2018.</span>
<!-- <ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
</ul> -->
</div>
</nav>
</header>
<main>
<div class="container">
<h1>Semester 3</h1>
<form class="" action="" method="" target="_self" id="gradForm">
<div class="form-group">
<select class="form-control mb-2" name="" required>
<option value="" selected disabled>Basic Electronics</option>
<option value="10">A+</option>
<option value="9">A</option>
<option value="8">B+</option>
<option value="7">B</option>
<option value="6">C+</option>
<option value="5">C</option>
<option value="0">IF</option>
</select>
<select class="form-control mb-2" name="" required>
<option value="" selected disabled>Applied Mathematics</option>
<option value="10">A+</option>
<option value="9">A</option>
<option value="8">B+</option>
<option value="7">B</option>
<option value="6">C+</option>
<option value="5">C</option>
<option value="0">IF</option>
</select>
<select class="form-control mb-2" name="" required>
<option value="" selected disabled>Digital Systems</option>
<option value="10">A+</option>
<option value="9">A</option>
<option value="8">B+</option>
<option value="7">B</option>
<option value="6">C+</option>
<option value="5">C</option>
<option value="0">IF</option>
</select>
<select class="form-control mb-2" name="" required>
<option value="" selected disabled>Object Oriented Programming</option>
<option value="10">A+</option>
<option value="9">A</option>
<option value="8">B+</option>
<option value="7">B</option>
<option value="6">C+</option>
<option value="5">C</option>
<option value="0">IF</option>
</select>
<select class="form-control mb-2" name="" required>
<option value="" selected disabled>Mathematical Founation of Computer Science</option>
<option value="10">A+</option>
<option value="9">A</option>
<option value="8">B+</option>
<option value="7">B</option>
<option value="6">C+</option>
<option value="5">C</option>
<option value="0">IF</option>
</select>
<select class="form-control mb-2" name="" required>
<option value="" selected disabled>ICT Tools and Security</option>
<option value="10">A+</option>
<option value="9">A</option>
<option value="8">B+</option>
<option value="7">B</option>
<option value="6">C+</option>
<option value="5">C</option>
<option value="0">IF</option>
</select>
</div>
</form>
<input type="button" name="" value="Calculate" onclick="calculateThree()" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal">
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Your SPI is</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<h1 id="marks"></h1>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="reset" class="btn btn-primary" onclick="refresh()">Reset</button>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
</body>
</html>