-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
132 lines (76 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="index.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="index.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.8.2/chart.min.js"
integrity="sha512-zjlf0U0eJmSo1Le4/zcZI51ks5SjuQXkU0yOdsOBubjSmio9iCUp8XPLkEAADZNBdR9crRy3cniZ65LF2w8sRA=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<title>FINANCIAL FREEDOM CALCULATOR</title>
</head>
<body>
<div id="MAIN_GRID">
<div id="APP_GRID">
<div class="HOLDER" id="TITLE">
<h1>FINANCIAL FREEDOM CALCULATOR</h1>
</div>
<div class="LABEL_GRID" id="INTEREST_RATE">
<div class="HOLDER">
<label for="IR">Interest Rate:</label>
</div>
<div class="HOLDER">
<input type="number" value="5" placeholder="interest rate" id="INTEREST_RATES">
</div>
</div>
<div class="LABEL_GRID" id="MONTHLY_CONTRIBUTION">
<div class="HOLDER">
<label for="contribution">Monthly contribution:</label>
</div>
<div class="HOLDER">
<input type="number" value="600" placeholder="Monthly contribution" id="CONTRIBUTION">
</div>
</div>
<div class="LABEL_GRID" id="STARTING_PRINCIPLE">
<div class="HOLDER">
<label for="startingValue">Starting principal:</label>
</div>
<div class="HOLDER">
<input type="number" value="10000" placeholder="Starting principal" id="STARTING_VALUE">
</div>
</div>
<div class="LABEL_GRID" id="NUMBER_OF_YEARS">
<div class="HOLDER">
<label for="limit">How many years?</label>
</div>
<div class="HOLDER">
<input type="number" value="10" placeholder="How many years?" id="LIMIT">
</div>
</div>
<div class="LABEL_GRID" id="INCOME_NEED_TO_RETIRE">
<div class="HOLDER">
<label for="reqIncome">Income needed to retire</label>
</div>
<div class="HOLDER">
<input type="number" value="50000" placeholder="passive income needed" id="REQUIRED_INCOME">
</div>
</div>
<div class="LABEL_GRID" id="SUBMIT">
<div class="HOLDER">
<button class="BUTTON" id="SUBMIT_FORM">Submit</button>
</div>
</div>
<div class="CONTAINER">
<div class="GRAPH_CONTAINER">
<canvas id="MY-CHART"></canvas>
</div>
</div>
</div>
</div>
<h1 style="color: rgba(237, 43, 43, 1)" id="goal"></h1>
</body>
</html>