-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
145 lines (93 loc) · 5.3 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
<!Doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MinBudget.JS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/style.css">
<!--Favicon-->
<link rel="apple-touch-icon" sizes="180x180" href="img/favicon//apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon//favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon//favicon-16x16.png">
<link rel="manifest" href="img/favicon//manifest.json">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<h1>minBudget.js
</h1>
<h2>
Miniature budget app
</h2>
<nav>
<div class="container">
<div class="row">
<div class="col">
<button onclick="btn1()" class="btn btn-secondary">
<i class="fa fa-calculator"></i> Income calculator</button> <sup>Show/hide</sup>
<div id="grossIncomeSect">
<input type="number" value="" id="qty1-class1" placeholder="Hourly Wage" min="1000">
<input type="number" value="" id="qty1-class2" placeholder="Average hours of work" min="1000">
<input type="number" value="" id="qty1-class3" placeholder="Average weeks worked" min="1000">
<button class="btn btn-primary btn-block" onclick="calculate1()">Calculate</button>
<h6 id="num1"></h6>
</div>
</div>
<div class="col">
<button onclick="btn2()" class="btn btn-secondary">
<i class="fa fa-money"></i> Savings
</button> <sup>Show/hide</sup>
<div id="savingsSect">
<label>Average Income per month</label>
<input type="number" id="qty1-income" placeholder="" value="">
<label>Percentage of income used in savings</label>
<input type="number" id="qty2-percent" value="">
<input type="number" placeholder="Months for savings" value="" id="mnthsav">
<input type="number" value="" id="svGoal" placeholder="Savings goal">
<button class="btn btn-primary btn-block" onclick="calculate2()">Calculate</button>
<h6 id="num2"></h6>
</div>
</div>
<div class="col">
<button onclick="btn3()" class="btn btn-secondary">
<i class="fa fa-mortar-board"></i> College calculator</button> <sup>Show/hide</sup>
<div id="collegeFundSect">
<input type="text" placeholder="Name of College" value="" id="collegeName">
<input type="number" value="" id="tuit" placeholder="In/Out State tuition">
<label>Expected number of semesters</label>
<input type="number" name="" value="" placeholder="" id="semester">
<label>Additional school purchases</label>
<input type="number" name="Books" placeholder="Books and Dorm" value="" id="qty5-class3">
<input type="number" value="" id="qty6-class3" Placeholder="Transportation">
<input type="number" name="Transportation" id="qty7-class3" placeholder="Extra purchases">
<input type="text" value="" id="qty8-class3" placeholder="Expected enrollment date">
<button class="btn btn-primary btn-block" onclick="calculate3()">Calculate</button>
<h6 id="num3"></h6>
</div>
</div>
<div class="col">
<button onclick="btn4()" class="btn btn-secondary">
<i class="fa fa-ship"></i> Vacation
</button> <sup>Show/hide</sup>
<div id="vacationSect">
<input type="text" name="Destination" placeholder="Destination" value="" id="destination">
<input type="number" placeholder="Travel Fare" value="" id="travelFare">
<input type="number" placeholder="Food and personal care" value="" id="food">
<label>Additional purchases</label>
<input type="number" placeholder="Gifts, souveniers, etc" value="" id="Add-purchase">
<button class="btn btn-primary btn-block" onclick="calculate4()">Calculate</button>
<h6 id="num4"></h6>
</div>
</div>
</div>
</div>
</nav>
<!-- Javascript-->
<script src="js/toggle.js">
</script>
<script src="js/Calculate.js">
</script>
<!-- End of Javascript-->
</body>
</html>