-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (91 loc) · 3.72 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="This is where your description goes">
<meta name="keywords" content="one, two, three">
<title>Budget Calculator</title>
<!-- external CSS link -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<section class="main">
<section class="method">
<h1>Budget Calculator</h1>
<h3>Choose Your Budgeting Method:</h3>
<section class="drop">
<select id="dropDown" onchange="changeEvent()">
<option value="fiftyThirtyTwenty" id="fiftyThirtyTwenty" selected>50/30/20</option>
<option value="seventyTwentyTen" id="seventyTwentyTen">70/20/10</option>
<option value="thirtyTen" id="thirtyTen">30/30/30/10</option>
</select>
</section>
<form>
<label for="income">Monthly After Tax Income: </label>
<input type="text" id="afterTaxIncome" name="income">
</form>
</section>
<section class="boxes" id="fiftyBudget">
<h2>50/30/20 Budget</h2>
<section class="breakdown">
<h3>Needs</h3>
<p>(50% of Income)</p>
<h2 class="fifty"></h2>
</section>
<section class="breakdown">
<h3>Wants</h3>
<p>(30% of Income)</p>
<h2 class="thirty"></h2>
</section>
<section class="breakdown">
<h3>Savings & Debt Repayment</h3>
<p>(20% of Income)</p>
<h2 class="twenty"></h2>
</section>
</section>
<section class="boxes" id="seventyBudget">
<h2>70/20/10 Budget</h2>
<section class="breakdown">
<h3>Spending</h3>
<p>(70% of Income)</p>
<h2 class="seventy"></h2>
</section>
<section class="breakdown">
<h3>Saving</h3>
<p>(20% of Income)</p>
<h2 class="twenty"></h2>
</section>
<section class="breakdown">
<h3>Giving</h3>
<p>(10% of Income)</p>
<h2 class="ten"></h2>
</section>
</section>
<section class="boxes" id="thirtyBudget">
<h2>30/30/30/10 Budget</h2>
<section class="breakdown">
<h3>Housing</h3>
<p>(30% of Income)</p>
<h2 class="thirty"></h2>
</section>
<section class="breakdown">
<h3>Necessary Expenses</h3>
<p>(30% of Income)</p>
<h2 class="thirty"></h2>
</section>
<section class="breakdown">
<h3>Financial Goals</h3>
<p>(30% of Income)</p>
<h2 class="thirty"></h2>
</section>
<section class="breakdown">
<h3>Wants</h3>
<p>(10% of Income)</p>
<h2 class="ten"></h2>
</section>
</section>
</section>
<script type="text/javascript" src="main.js"></script>
</body>
</html>