-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (41 loc) · 1.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculating Budget</title>
<link rel="stylesheet" href="bujet.css">
</head>
<body>
<main class="main">
<h2>Calculate Budget</h2>
<div class="first">
<label for="total">Total Monthly Budget</label>
<br>
<input type="number" name="total-budget" id="total">
</div>
<br><br>
<div class="second">
<label for="groceries">Groceries Expenses</label>
<br>
<input type="number" name="groceries" id="groceries">
</div>
<br><br>
<div class="third">
<label for="rent">Monthly Rent</label>
<br>
<input type="number" name="rent" id="rent">
</div>
<br><br>
<div class="four">
<label for="health">Monthly Health Expenses</label>
<br>
<input type="number" name="health" id="health">
</div>
<br>
<button id="btn">Calculate</button>
<p>Remaining Budget: <strong id="remainingBudget">000</strong></p>
</main>
<script src="my.js"></script>
</body>
</html>