-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
100 lines (89 loc) · 2.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Split Cost Application</title>
<link rel="stylesheet" href="./assets/css/styles.css">
<script defer src="./assets/js/app.js"></script>
</head>
<body>
<div class="outer-container">
<h2>Split Cost</h2>
<div class="unsettled-container">
<h6>Unsettled Amount per user</h6>
<div>
<div >$<span id="unsettled-amount">0.00</span></div>
<button class="primary-button" id="settle-now-btn">SETTLE NOW</button>
</div>
</div>
<div class="users-container">
</div>
<form class="new-container">
<div>
<label for="description">Description<span>*</span></label>
<textarea rows="3" id="description"></textarea>
</div>
<div>
<div>
<label for="amount">Amount$<span>*</span></label>
<input type="number" id="amount"></textarea>
</div>
<button>ADD NEW</button>
</div>
<div id="error-msg"></div>
</form>
<div class="expenses-container">
<h3>Expenses</h3>
<div id="all-expenses">
<div>
<div>
<span>Woolworths Shopping</span>
<time>12 March 2024 02:30:00</time>
</div>
<div class="amount">
$120.00
</div>
</div>
<div>
<div>
<span>Woolworths Shopping</span>
<time>12 March 2024 02:30:00</time>
</div>
<div class="amount">
$120.00
</div>
</div>
<div class="settled-row">
<div>
<span>Woolworths Shopping</span>
<time>12 March 2024 02:30:00</time>
</div>
<div class="amount">
$120.00
</div>
</div>
<div class="settled-row">
<div>
<span>Woolworths Shopping</span>
<time>12 March 2024 02:30:00</time>
</div>
<div class="amount">
$120.00
</div>
</div>
<div class="settled-row">
<div>
<span>Woolworths Shopping</span>
<time>12 March 2024 02:30:00</time>
</div>
<div class="amount">
$120.00
</div>
</div>
</div>
<div class="expenses-footer"><button class="unstyled-button">View All</button></div>
</div>
</div>
</body>
</html>