-
Notifications
You must be signed in to change notification settings - Fork 0
/
budget.html
168 lines (161 loc) · 9.5 KB
/
budget.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
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="./css/budget.css">
<link href="https://fonts.googleapis.com/css?family=Courgette" rel="stylesheet">
<link rel="stylesheet" href="./css/all.css">
<title>Budget App</title>
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg px-4">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#myNav">
<span class="toggler-icon"><i class="fas fa-bars"></i></span>
</button>
<div class="collapse navbar-collapse" id="myNav">
<ul class="navbar-nav mx-auto text-capitalize">
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#"> Easy Projects <b class="caret"></b></a>
<ul class="dropdown-content">
<li class="nav-item active">
<a class="nav-link" href="index.html">Colour Change</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="hex.html">Colour Change Hex Code</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="quotes.html">Random Quote</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="counter.html">Counter</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="Gallery.html">Gallery</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="calculator.html">Calculator</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="clock.html">Clock</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="mortgage.html">Mortgage Calc.</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="RSS.html">RSS Feed for BBC News</a>
</li>
</ul>
</li>
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#"> Intermediate Projects <b class="caret"></b></a>
<ul class="dropdown-content">
<li class="nav-item active">
<a class="nav-link" href="bakerywebpage.html">Bakery Webpage</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="budget.html">Budgeting</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="brickBreaker.html">Brick Breaker</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="WhackAMole.html">Whack A Mole</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="todo.html">ToDo</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="hangman.html">Hangman</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="headsOrTails.html">Heads Or Tails</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="plinko.html">Plinko</a>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<div class="container-fluid">
<div class="row">
<div class="col-11 mx-auto pt-3">
<!-- title -->
<h3 class="text-uppercase mb-4">budget app</h3>
<div class="row">
<div class="col-md-5 my-3">
<!-- budget feedback -->
<div class="budget-feedback alert alert-danger text-capitalize">budget feedback</div>
<!-- budget form -->
<form id="budget-form" class=" budget-form">
<h5 class="text-capitalize">please enter your budget</h5>
<div class="form-group">
<input type="number" class="form-control budget-input" id="budget-input">
</div>
<!-- submit button -->
<button type="submit" class="btn text-capitalize budget-submit" id="budget-submit">calculate</button>
</form>
</div>
<div class="col-md-7">
<!-- app info -->
<div class="row my-3">
<div class="col-4 text-center mb-2">
<h6 class="text-uppercase info-title">budget</h6>
<span class="budget-icon"><i class="fas fa-money-bill-alt"></i></span>
<h4 class="text-uppercase mt-2 budget" id="budget"><span>£ </span><span id="budget-amount">0</span></h4>
</div>
<div class="col-4 text-center">
<h6 class="text-uppercase info-title">expenses</h6>
<span class="expense-icon"><i class="far fa-credit-card"></i></span>
<h4 class="text-uppercase mt-2 expense" id="expense"><span>£ </span><span id="expense-amount">0</span></h4>
</div>
<div class="col-4 text-center">
<h6 class="text-uppercase info-title">balance</h6>
<span class="balance-icon"><i class="fas fa-dollar-sign"></i></span>
<h4 class="text-uppercase mt-2 balance" id="balance"> <span>£ </span><span id="balance-amount">0</span></h4>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-5 my-3">
<!-- expense feedback -->
<div class="expense-feedback alert alert-danger text-capitalize">expense feedback</div>
<!-- expense form -->
<form id="expense-form" class=" expense-form">
<h5 class="text-capitalize">please enter your expense</h5>
<div class="form-group">
<input type="text" class="form-control expense-input" id="expense-input">
</div>
<h5 class="text-capitalize">please enter expense amount</h5>
<div class="form-group">
<input type="number" class="form-control expense-input" id="amount-input">
</div>
<!-- submit button -->
<button type="submit" class="btn text-capitalize expense-submit" id="expense-submit">add expense</button>
</form>
</div>
<div class="col-md-7 my-3">
<!-- expense list -->
<div class="expense-list" id="expense-list">
<div class="expense-list__info d-flex justify-content-between text-capitalize">
<h5 class="list-item">expense title</h5>
<h5 class="list-item">expense value</h5>
<h5 class="list-item"></h5>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="./js/jquery-3.4.1.min.js"></script>
<script src="./js/bootstrap.bundle.min.js"></script>
<script src="./js/budget.js"></script>
</body>
</html>