-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
242 lines (196 loc) · 5.97 KB
/
index2.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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CGPA Calculator</title>
<link rel="shortcut icon" type="image/x-icon" href="./images/fav.ico">
<link rel="stylesheet" href="cgp.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=ADLaM+Display&family=Belanosima&family=Cabin&family=Dangrek&family=Nabla&family=Permanent+Marker&family=Pixelify+Sans:wght@500&family=Righteous&family=Rowdies:wght@300&family=Signika+Negative:wght@600&family=Sriracha&family=Yatra+One&display=swap" rel="stylesheet">
<script src="cgp2.js"></script>
</head>
<body>
<div class="top">
<h1>CGPA CALCULATOR</h1>
<a href="index2d.html"><img src="./images/night.png" width="50px"></a>
</div>
<div class="info">
<p>Anna University CSE 2nd Semester GPA calculator</p>
</div>
<div class="mid">
<div class="m">
<p>Enter your English Grade:</p>
<form method="get">
<select name="gen" id="m1">
<option value="10" class="box">O
</option>
<option value="9">A+</option>
<option value="8">A</option>
<option value="7">B+</option>
<option value="6">B</option>
<option value="5">C</option>
<option value="0">RA</option>
</select>
</form>
</div>
<div class="m">
<p>Enter your Maths Grade:</p>
<form method="get">
<select name="gen" id="m2">
<option value="10" class="box">O
</option>
<option value="9">A+</option>
<option value="8">A</option>
<option value="7">B+</option>
<option value="6">B</option>
<option value="5">C</option>
<option value="0">RA</option>
</select>
</form>
</div>
<div class="m">
<p>Enter your Physics Grade:</p>
<form method="get">
<select name="gen" id="m3">
<option value="10">O
</option>
<option value="9">A+</option>
<option value="8">A</option>
<option value="7">B+</option>
<option value="6">B</option>
<option value="5">C</option>
<option value="0">RA</option>
</select>
</form>
</div>
<div class="m">
<p>Enter your EEE Grade:</p>
<form method="get">
<select name="gen" id="m4" >
<option value="10">O
</option>
<option value="9">A+</option>
<option value="8">A</option>
<option value="7">B+</option>
<option value="6">B</option>
<option value="5">C</option>
<option value="0">RA</option>
</select>
</form>
</div>
<div class="m">
<p>Enter your Engineering graphics Grade:</p>
<form method="get">
<select name="gen" id="m5" >
<option value="10">O
</option>
<option value="9">A+</option>
<option value="8">A</option>
<option value="7">B+</option>
<option value="6">B</option>
<option value="5">C</option>
<option value="0">RA</option>
</select>
</form>
</div>
<div class="m">
<p>Enter your program in C Grade:</p>
<form method="get">
<select name="gen" id="m6" >
<option value="10">O
</option>
<option value="9">A+</option>
<option value="8">A</option>
<option value="7">B+</option>
<option value="6">B</option>
<option value="5">C</option>
<option value="0">RA</option>
</select>
</form>
</div>
<div class="m">
<p>Enter your Tamil Grade:</p>
<form method="get">
<select name="gen" id="m7" >
<option value="10">O
</option>
<option value="9">A+</option>
<option value="8">A</option>
<option value="7">B+</option>
<option value="6">B</option>
<option value="5">C</option>
<option value="0">RA</option>
</select>
</form>
</div>
<div class="m">
<p>Enter your Engineering practical lab Grade:</p>
<form method="get">
<select name="gen" id="m8" >
<option value="10">O
</option>
<option value="9">A+</option>
<option value="8">A</option>
<option value="7">B+</option>
<option value="6">B</option>
<option value="5">C</option>
<option value="0">RA</option>
</select>
</form>
</div>
<div class="m">
<p>Enter your C lab Grade:</p>
<form method="get">
<select name="gen" id="m9" >
<option value="10">O
</option>
<option value="9">A+</option>
<option value="8">A</option>
<option value="7">B+</option>
<option value="6">B</option>
<option value="5">C</option>
<option value="0">RA</option>
</select>
</form>
</div>
<div class="m">
<p>Enter your Communication lab Grade:</p>
<form method="get">
<select name="gen" id="m10" >
<option value="10">O
</option>
<option value="9">A+</option>
<option value="8">A</option>
<option value="7">B+</option>
<option value="6">B</option>
<option value="5">C</option>
<option value="0">RA</option>
</select>
</form>
</div>
</div>
<div class="submit">
<center><button onclick="calculateSum()">Get GPA</button></center>
</div>
<div class="bottom">
<div class="res">
<h3>RESULT: <spam id="sum"></spam></h3>
</div>
</div>
<div class="link">
<h3>Select Semester:</h3>
<a href="index.html"><button>1</button></a>
<a href="index3.html"><button>3</button></a>
<a href="index4.html"><button>4</button></a>
<a href="index5.html"><button>5</button></a>
<a href="index6.html"><button>6</button></a>
<a href="index7.html"><button>7</button></a>
<a href="index8.html"><button>8</button></a>
</div>
<div class="foot">
<a href="cgpa.html"><button>CALCULATE CGPA</button></a>
</div>
</body>
</html>