-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
75 lines (70 loc) · 2.49 KB
/
index.html
File metadata and controls
75 lines (70 loc) · 2.49 KB
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
<!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="index.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap">
<title>Expense Manager</title>
</head>
<body>
<div class="heading">
Expense Manager
</div>
<div class="forms">
<div class="form-save">
<form action="save.php" class="income-form">
<label for="">
<h3>Save your income here!!</h3>
</label>
<input type="number" name="income" placeholder="Enter your income:">
<button type="submit">Submit</button>
</form>
<form action="save.php" class="expense-form">
<label for="">
<h3>Save your expenses here!!</h3>
</label>
<input type="number" name="amount" placeholder="Enter amount spent:">
<input type="text" name="desc" placeholder="Enter a description:">
<button type="submit">Submit</button>
</form>
</div>
<div class="form-fetch">
<h3>Enter what you want to query:</h3>
<select name="choices" id="selectmenu">
<option value="1" name="total">Total Amount Spent</option>
<option value="2" name="summary">Summary of Expenses</option>
<option value="3" name="totali">Total Income</option>
<option value="4" name="totalb">Total Balance</option>
</select>
<button class="ajax">Submit</button>
</div>
</div>
<div class="output">
<div class="total">
<h4>You have spent a total amount of :</h4>
<h4 class="amount"></h4>
</div>
<div class="summary">
<h4>Following is the summary of all your expenses :</h4>
<div class="expense">
<h4 class="e1">
Amount
</h4>
<h4 class="e2">
Description
</h4>
</div>
</div>
<div class="income">
<h4>Your total income was :</h4>
<h4 class="salary"></h4>
</div>
<div class="balance">
<h4>Your total Balance is :</h4>
<h4 class="bal"></h4>
</div>
</div>
</body>
<script src="index.js"></script>
</html>