-
Notifications
You must be signed in to change notification settings - Fork 0
/
loanapp.html
60 lines (50 loc) · 1.5 KB
/
loanapp.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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="loanapp.css" />
<meta charset="UTF-8">
<meta name="viewport" content="width=1, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div class = "loan-calculator">
<div class = "top">
<h2>Loan Calculator</h2>
<form action="#">
<div class = "group">
<div class = "title">Amount</div>
<input type="text" class ="loan-amount"value="30000">
</div>
<div class = "group">
<div class = "title">Interest-rate</div>
<input type="text" class ="interest-rate"value="8.5">
</div>
<div class = "group">
<div class = "title">Tenure(in months)</div>
<input type="text" class ="loan-tenure"value="240">
</div>
</form>
</div>
<div class = "result">
<div class = "left">
<div class = "loan-Emi">
<h3>Loan EMI</h3>
<div class = "value">123</div>
</div>
<div class = "Total-interest">
<h3>Total Interest Payable</h3>
<div class = "value">1234</div>
</div>
<div class = "total-amount">
<h3>Total Amount</h3>
<div class = "value">12345</div>
<button class = "calculate">Calculate</button>
</div>
</div>
<div class = "right">
<canvas id="myChart" width="400" height="400"></canvas>
</div>
</div>
<script src="loanapp.js"></script>
</body>
</html>