-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·67 lines (66 loc) · 3.41 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Amortization Calculator</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
</head>
<body>
<div class="container" id="main">
<h1>Amortization Calculator - with extra payments</h1>
<div class="form-group">
<label for="loanAmount">Starting Balance</label>
<input type="number" id="loanAmount" class="form-control">
</div>
<div class="form-group">
<label for="interstRate">Interest Rate</label>
<input type="number" id="interestRate" class="form-control">
</div>
<div class="form-group">
<label for="termLength">Term Length (Months)</label>
<input type="number" id="termLength" class="form-control">
</div>
<button type="button" id="loanSubmit" class="btn btn-primary">Submit</button>
</div>
<div class="modal fade" id="actualPaymentModal" tabindex="-1" role="dialog" aria-labelledby="actualPaymentModal" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="actualPaymentModalLabel">Default vs Actual Payment</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
<label for="defaultPaymentLabel">Default Monthly Payment</label>
<input type="text" id="defaultPaymentLabel" disabled="true" class="form-control">
</div>
<div class="form-group">
<label for="actualPaymentLabel">Actual Monthly Payment</label>
<input type="text" id="actualPaymentLabel" class="form-control">
</div>
<div class="form-group">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id="createPaymentScheduleButton">Create Payment Schedule</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="js/amortization.js"></script>
<script src="js/dom.js"></script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-1074647521069034",
enable_page_level_ads: true
});
</script>
</body>
</html>