-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathindex.html
160 lines (147 loc) · 6.67 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!--
Contributor Details:
Name: Panayiotis Georgiou
mail:https://www.panayiotisgeorgiou.com
GitHub profile link : https://github.com/georgioupanayiotis
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Retirement Calculator</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#6610f2">
<link rel="icon" type="image/ico" href="favicon.ico"/>
<!-- Styles -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../assets/styles/style.css">
</head>
<body>
<!-- Navbar -->
<nav class="site-header sticky-top py-1 text-light">
<div class="container d-flex flex-column flex-md-row justify-content-between align-items-center" id="uNavbar">
<a class="py-2 text-light" href="../../index.html">
<i class="fa fa-cogs fa-2x" aria-hidden="true"></i>
</a>
<!-- Dynamic Navbar Elements -->
<div class="btn-group d-none d-md-block py-2">
<button type="button" class="btn btn-link text-light text-decoration-none"><a href="https://backgroundgradients.com/" class="text-light">Background Gradients</a> </button>
</div>
</div>
</nav>
<!-- Navbar End -->
<section class="hero-section text-center text-light">
<h1>Retirement Calculator</h1>
<div class="cotainer">
<div class="row justify-content-center">
<div class="col-md-3">
<div class='hdr'>Initial Investment?</div>
<div class='info'>Current money you have invested or will invest immediately.</div>
<div class="input-group mb-3">
<input type="text" value=0 id="current" class="form-control" />
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-3">
<div class='hdr'>How much do you want to make per year?</div>
<div class='info'>The amount of money you need to live per year.</div>
<div class="input-group mb-3">
<input type="text" value=40000 id="amount" class="form-control"/>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-3">
<div class='hdr'>How many years until retirement?</div>
<div class='info'>How many years you are willing to save for.</div>
<div class="input-group mb-3">
<input type="text" value=20 id="years" class="form-control"/>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-3">
<div class='hdr'>Draw (%)</div>
<div class='info'>The amount you are willing to draw down yearly (4% is common).</div>
<div class="input-group mb-3">
<input type="text" value=4 id="draw" class="form-control"/>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-3">
<div class='hdr'>ROI (%)</div>
<div class='info'>How much you can earn on average per year.</div>
<div class="input-group mb-3">
<input type="text" value=11.5 id="roi" class="form-control"/>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-3">
<div class='hdr'>Adjust for Inflation</div>
<div class='info'>Adjust the amount per year for inflation (uses 3.15%)</div>
<div class="input-group mb-3">
<!-- <input type="text" value=11.5 id="roi" class="form-control"/> -->
<input type="checkbox" class="form-check-input" checked id="inflation"/>
<label class="form-check-label" for="exampleCheck1">Enable</label>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-3">
<div class='hdr'>ROI (%)</div>
<div class='info'>How much you can earn on average per year.</div>
<div class="input-group mb-3">
<input type="text" value=11.5 id="roi" class="form-control"/>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-3">
<button type="button" class="btn btn-primary" onclick="computeNow()">
Compute
</button>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-3">
<div id="output" style="margin-top: 30px; font-size: 16px;" class="alert alert-success" role="alert">Result will be displayed here</div>
</div>
</div>
</div>
</section>
<!-- Hero Section End -->
<!-- Footer -->
<footer class="border-top py-3 px-4">
<div class="row align-items-center">
<div class="col-md-6">
<p class="m-0">Copyright © 2020 codeezzi</p>
<p class="m-0">Page Created by <a href="https://github.com/negarjf" target="_blank">Negar Jamalifard</a></p>
</div>
<div class="col-md-6 text-md-right">
<a href="contributors.html" class="text-dark" target="blank">Contributors</a>
<span class="text-muted mx-2">|</span>
<a href="#" class="text-dark">Terms of Use</a>
<span class="text-muted mx-2">|</span>
<a href="#" class="text-dark">Privacy Policy</a>
</div>
</div>
</footer>
<!-- Footer End -->
<script src="retirement.js"></script>
<!--Scripts-->
<!-- Global Scripts: Should load in all pages -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="../../assets/config/categories.js"></script>
<script src="../../assets/config/tools.js"></script>
<script src="../../assets/scripts/templates.js"></script>
<script src="../../assets/scripts/app.js"></script>
<!-- END of Global Scripts -->
</body>
</html>