forked from AvirupaChakraborty/Html-and-css3-handson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFixed And Reducing Interest Loan Estimator(html)
126 lines (121 loc) · 3.53 KB
/
Fixed And Reducing Interest Loan Estimator(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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Reducing Interest Loan Estimation</title>
<style type="text/css">
h2 {
text-align: center;
color: #FF0000;
font-style: italic;
font-weight: bold;
}
table {
text-align: left;
background-color: #FFE77A;
padding: 10px;
}
thead {
text-align: center;
}
#tablemain {
margin-left: 35%;
}
#Estimate {
background-color: #F1F334;
color: #000000;
font-size: 15px;
height: 35px;
width: 100px;
}
</style>
</head>
<body>
<h2>Reducing Interest Loan Estimation</h2>
<table id="tablemain">
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td>
<label for="principalAmount">Principal Loan Amount (Rs.)</label>
</td>
<td>
<input type="text" id="principalAmount" placeholder="Principal Amount" required>
</td>
</tr>
<tr>
<td>
<label for="interestRate">Interest Rate (%)</label>
</td>
<td>
<input type="text" id="interestRate" placeholder="Interest Per Annum" required>
</td>
</tr>
<tr>
<td>
<label for="tenure">Tenure (in months)</label>
</td>
<td>
<input type="text" id="tenure" placeholder="Tenure in Months" required>
</td>
</tr>
<tr>
<td></td>
<td align="left" style="padding: 10px">
<input id="Estimate" type="button" value="Estimate" onclick="EstimateReducingInterestLoan()">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table border="1">
<caption><b>Loan Estimation</b></caption>
<thead>
<tr>
<th>Details</th>
<th>Reducing Interest Loan</th>
<th>Fixed Interest Loan</th>
</tr>
</thead>
<tbody>
<tr>
<td>Total Interest Rs.</td>
<td>
<output id="tInterest"></output>
</td>
<td>
<output id="tInterestFixed"></output>
</td>
</tr>
<tr>
<td>Total Payment Rs.</td>
<td>
<output id="tPayment"></output>
</td>
<td>
<output id="tPaymentFixed"></output>
</td>
</tr>
<tr>
<td>Monthly EMI Rs.</td>
<td>
<output id="EMI"></output>
</td>
<td>
<output id="EMIFixed"></output>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<script src="Estimation.js"></script>
</body>
</html>