-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
127 lines (125 loc) · 7.73 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
<!--
███╗ ██╗███████╗███████╗████████╗███████╗ ██████╗ ██████╗
████╗ ██║██╔════╝██╔════╝╚══██╔══╝██╔════╝██╔════╝ ██╔════╝
██╔██╗ ██║█████╗ ███████╗ ██║ █████╗ ██║ ███╗██║ ███╗
██║╚██╗██║██╔══╝ ╚════██║ ██║ ██╔══╝ ██║ ██║██║ ██║
██║ ╚████║███████╗███████║ ██║ ███████╗╚██████╔╝╚██████╔╝
╚═╝ ╚═══╝╚══════╝╚══════╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═════╝
html for a Nest Egg calculator that determines the future value of your retirement fund.
-
Author:
Mister Riley
https://github.com/sorzkode
MIT License
Copyright (c) 2023 Mister Riley
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<title>nestEgg</title>
<script defer src="scripts\nestEgg.js"></script>
<script defer src="scripts\clearForm.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="nestFAVI.png">
<link rel="stylesheet" type="text/css" href="styles/main.css">
</head>
<body>
<div>
<form id="myForm">
<div class="row">
<div>
<h1 class="text-center"><img src="nestEgg.png">nestEgg Calculator</h1>
<div class="form-group">
<label for="current-age">Current Age<span style="color: rgb(189, 0, 0);">*</span></label>
<div class="input-group">
<span class="input-group-addon"><i class="bi bi-hourglass-top"></i></span>
<input type="number" class="form-control" id="current-age" min="15" max="85" placeholder="30" title="Your Age. Range: 15 - 85" required>
</div>
</div>
<div class="form-group">
<label for="retirement-age">Planned Retirement Age<span style="color: rgb(189, 0, 0);">*</span></label>
<div class="input-group">
<span class="input-group-addon"><i class="bi bi-hourglass-bottom"></i></span>
<input type="number" class="form-control" id="retirement-age" min="15" max="95" placeholder="65" title="Your Retirement Age. Range: 15 - 95" required>
</div>
</div>
<div class="form-group">
<label for="current-salary">Current Annual Salary<span style="color: rgb(189, 0, 0);">*</span></label>
<div class="input-group">
<span class="input-group-addon"><i class="bi bi-currency-dollar"></i></span>
<input type="number" class="form-control" id="current-salary" placeholder="50000" title="Your Salary as a Whole Number" required>
</div>
</div>
<div class="form-group">
<label for="salary-increase">Expected Annual Salary Increase<span style="color: rgb(189, 0, 0);">*</span></label>
<div class="input-group">
<span class="input-group-addon"><i class="bi bi-arrow-up"></i></span>
<input type="number" class="form-control" id="salary-increase" placeholder="2" title="Salary % Increase as a Whole Number" required>
</div>
<span class="user-hint" style="color: yellow;">Salary % Increase as a Whole Number</span>
</div>
<div class="form-group">
<label for="employee-cont">Your Retirement Contributions<span style="color: rgb(189, 0, 0);">*</span></label>
<div class="input-group">
<span class="input-group-addon"><i class="bi bi-cash-coin"></i></span>
<input type="number" class="form-control" id="employee-cont" min="0" max="100" placeholder="9" title="Contribution % as a Whole Number" required>
</div>
<span class="user-hint" style="color: yellow;">Contribution % as a Whole Number</span>
</div>
<div class="form-group">
<label for="employer-cont">Employer Match<span style="color: rgb(189, 0, 0);">*</span></label>
<div class="input-group">
<span class="input-group-addon"><i class="bi bi-building-fill-add"></i></span>
<input type="number" class="form-control" id="employer-cont" min="0" max="100" placeholder="3" title="Employer Match % as a Whole Number" required>
</div>
<span class="user-hint" style="color: yellow;">Employer Match % as a Whole Number</span>
</div>
<div class="form-group">
<label for="interest-rate">Expected Rate of Return<span style="color: rgb(189, 0, 0);">*</span></label>
<div class="input-group">
<span class="input-group-addon"><i class="bi bi-percent"></i></span>
<input type="number" class="form-control" id="interest-rate" min="0" max="100" placeholder="6" title="Rate of Return % as a Whole Number" required>
</div>
<span class="user-hint" style="color: yellow;">Rate of Return % as a Whole Number</span>
</div>
<div class="form-group">
<label for="inflation-rate">Expected Inflation Rate<span style="color: rgb(189, 0, 0);">*</span></label>
<div class="input-group">
<span class="input-group-addon"><i class="bi bi-balloon-fill"></i></span>
<input type="number" class="form-control" id="inflation-rate" min="1" max="15" placeholder="3" title="Inflation Rate % as a Whole Number" required>
</div>
<span class="user-hint" style="color: yellow;">Inflation Rate % as a Whole Number</span>
</div>
<div class="form-group">
<label for="current-savings">Current Savings<span style="color: rgb(189, 0, 0);">*</span></label>
<div class="input-group">
<span class="input-group-addon"><i class="bi bi-piggy-bank-fill"></i></span>
<input type="number" class="form-control" id="current-savings" placeholder="75000" title="Your Savings as a Whole Number" required>
</div>
</div>
<div class="form-group" style="text-align: center;">
<label for="results"><span style="color:rgba(31%, 78%, 47%, 1);"><h4>Approximate nestEgg...</span></h4></label>
<div class="input-group">
<span class="input-group-addon" style="margin-right: 20px;"><i class="bi bi-egg-fill"></i></span>
<h4 id="results">$</h4>
</div>
</div>
<div style="text-align: right;">
<button type="button" class="btn btn-primary" onclick="nestEgg()"><span class="btn-primary-addon"><strong>CALCULATE</strong> <i class="bi bi-calculator-fill"></i></span></button>
<button type="button" class="btn btn-secondary" onclick="clearForm()"><span class="btn-secondary-addon"><strong>CLEAR</strong> <i class="bi bi-x-circle-fill"></i></span></button>
</div>
</div>
</div>
</form>
</div>
</body>
</html>