-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (51 loc) · 1.64 KB
/
index.html
File metadata and controls
52 lines (51 loc) · 1.64 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Veena</title>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.2.0/require.js" ></script>-->
<link href='http://fonts.googleapis.com/css?family=Roboto:400,300,700' rel='stylesheet' type='text/css'>
<link href="css/styles.css" rel="stylesheet" type="text/css">
</head>
<body>
<header>
<h1>Mortgage Calculator</h1>
</header>
<div class="content">
<div class="form">
<div>
<label>Principal:</label>
<input type="text" id="principal" value="200000"/>
</div>
<div>
<label>Years:</label>
<input type="text" id="years" value="30"/>
</div>
<div>
<label htmlFor="rate">Rate:</label>
<input type="text" id="rate" value="5.0"/>
</div>
<div>
<label htmlFor="calcBtn"></label>
<button id="calcBtn">Calculate</button>
</div>
</div>
<h2>Monthly Payment: <span id="monthlyPayment" class="currency"></span></h2>
<h3>Monthly Rate: <span id="monthlyRate"></span></h3>
<table>
<thead>
<tr>
<th>Year</th>
<th class="principal">Principal</th>
<th class="stretch"></th>
<th class="interest">Interest</th>
<th>Balance</th>
</tr>
</thead>
<tbody id="amortization"></tbody>
</table>
</div>
<!--<script src="build/main.js"></script>-->
<script data-main="build/main.js" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.2.0/require.js"></script>
</body>
</html>