-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
114 lines (105 loc) · 7.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="fontawesome-free-6.1.1-web/fontawesome-free-6.1.1-web/css/all.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous" />
<title>Cumulative</title>
</head>
<body>
<!-- container for the whole page -->
<div id="cont" class="container">
<div class="row">
<div class="col-xl-2 col-sm-2 col-md-2 col-lg-2"></div>
<div class="col-xl-10 col-sm-10 col-md-10 col-lg-10">
<div id="card" class="card border-5 border-info">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xl-12">
<div class="card-header">
<!-- head of the page -->
<h1 class="card-title text-decoration-underline text-primary text-center">Welcome</h1>
<p id="to" class="text-dark text-center font-weight-bold">to a platform that calculate Cumulative Grade Point Average(CGPA)</p>
<div id="grid_plus" class="row">
<div class="col-xl-1 col-sm-1 col-md-1 col-lg-1"></div>
<!-- <div id="grid_plus" class="row"> -->
<div class="col-xl-6 col-sm-6 col-md-6 col-lg-6 mx-3"><label style="margin-left:10px" for="mx-4 course" style="font-weight: 700;" class="text-success font-weight-bold text-center">Number of courses to calculate</label>
<input id="input" type="text" placeholder="Enter the number of courses to calculate" class="form-control">
</div>
<div class="col-xl-3 col-sm-3 col-md-3 col-lg-3">
<br>
<input onclick="myFunction()" type="button" id="enter" value="Enter" class="bg-success font-weight-bold text-white form-control ">
</div>
<!-- </div> -->
</div>
<span id="isNaN" class="text-danger text-center font-italic font-weight-bold mx-5"><b></b></span></div>
</div>
</div>
<div id="display_text" class="card-body">
<!-- <div id="the_text">
<p id="for_check" class="text-center text-danger font-italic font-weight-bold">
You gats put something there
</p>
</div> -->
</div>
<div style="display: none;" id="the_text">
<p id="for_check" class="text-center text-danger font-italic font-weight-bold">
<!-- You gats put something there -->
</p>
</div>
<div class="card-footer">
<input type="button" data-toggle="modal" data-target="#myModal" onclick="mySubmit()" class="form-control bg-dark font-weight-bold text-white shadow" style='display: none;' value="calculate!" id="submit">
<!-- Modal -->
<div id="myModal" class="modal fade" role="dialog">
<div class="modal-dialog modal-dialog-centered">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title text-primary text-center">Your Cumulative Grade Point Average(CGPA)</h4>
</div>
<div style="height: 500px;" class="modal-body h-100">
<h1 id="show" style="height: 150px;" class="text-center w-50 mx-auto h-100 rounded-circle bg-success text-white">This is not a number.</h1>
<h6 class="text-primary mt-3 text-center">Powered by Olosan Yusuf Sidiq(De polymath) <br>
<a href="https://www.linkedin.com/in/yusuf-olosan-ab37a7229"><i class="fa-brands fa-linkedin" aria-hidden="true"></i></a>
<a href="https://twitter.com/Olosanyusuf?t=kgl1a3EDPKYWc9sV1ZdbdQ&s=08"><i class="fa-brands fa-twitter" aria-hidden="true"></i></a>
<a href="https://www.facebook.com/olosanyusufsidiq"><i class="fa-brands fa-facebook-square" aria-hidden="true"></i></a>
<a href="https://wa.me/234/8142206715"><i class="fa-solid fa-whatsapp"></i></a>
<a href="https://www.instagram.com/de_polymath/"><i class="fa-brands fa-instagram"></i></a>
<a href="mailto:[email protected]"><i class="fa fa-envelope" id="put" aria-hidden="true"></i></a>
</h6>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default bg-danger text-white" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- <div id="show" class="col-xl-2 col-sm-4 col-md-4 col-lg-4">Shows
<p id="texT"></p>
</div> -->
</div>
</div>
<i class="fa fa-linkedin"></i>
<script src="main.js"></script>
<!-- <script src="boot/js/bootstrap.bundle.js"></script>
<script src="boot/js/bootstrap.min.js"></script>
<script src="boot/js/bootstrap.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
</script>
</body>
</html>