forked from Mindula-Dilthushan/Interest-Online-Calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (86 loc) · 3.76 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
<!--Interest Online Calculator-->
<!--Mindula Dilthushan-->
<!--minduladilthushan1@gmail.com-->
<!--2020-04-05-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Interest Online Calculator</title>
<!--css files ----------------------------------------------------------------------------------------------------->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css">
<!--google font --------------------------------------------------------------------------------------------------->
<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=Poppins&display=swap" rel="stylesheet">
</head>
<body class="body">
<div class="container w-100 h-100 d-flex justify-content-center align-items-center mt-3">
<h1 class="text-white">Interest Online Calculator</h1>
</div>
<div class="container content-area mt-5">
<form class="main-form">
<!--amount ---------------------------------------------------------------------------------------------------->
<div class="form-group">
<label> Amount</label>
<input type="number"
class="form-control mt-1"
id="amountId"
aria-describedby="amountHelp"
placeholder="Enter your amount"
>
</div>
<!--interest -------------------------------------------------------------------------------------------------->
<div class="form-group">
<label class="mt-3">Interest rate (%)</label>
<input
type="text"
class="form-control mt-1"
id="interestId"
placeholder="Enter your interest rate"
>
</div>
<!--number of year -------------------------------------------------------------------------------------------->
<div class="form-group">
<label class="mt-3">Number of year</label>
<input
type="number"
class="form-control mt-1"
id="yearId"
placeholder="Enter your want number of year"
>
</div>
<!--time in year ---------------------------------------------------------------------------------------------->
<div class="form-group">
<label class="mt-3">Time in year</label>
<input
type="number"
class="form-control mt-1"
id="timeInYearId"
placeholder="Enter your time in year"
>
</div>
<div class="container justify-content-center align-items-center d-flex button-div mt-4">
<button type="button" class="btn" id="calculateButton">Calculate</button>
<button type="button" class="btn" id="cleanButton">Clear</button>
</div>
</form>
</div>
<div class="container interest-display mt-4 justify-content-center align-items-center d-flex">
<h2 class="text-white display-text" id="display_data"> Interest total amount is : <span id="interest_data"></span>
</h2>
</div>
<div class="container d-flex justify-content-center align-items-center">
<p class="text-white">Develop by
<a class="footer-text"
href="https://github.com/Mindula-Dilthushan">Mindula Dilthushan
</a>    ^_~
</p>
</div>
<!--js files ---------------------------------------------------------------------------------------------------------->
<script src="js/jquery-3.6.0.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>