-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
72 lines (69 loc) · 2.48 KB
/
Copy pathindex.html
File metadata and controls
72 lines (69 loc) · 2.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bill Split</title>
<link rel="stylesheet" href="./sources/styles/style.css">
</head>
<body>
<header>
<h1>Bill Split</h1>
</header>
<main>
<div class="bill-input">
<div class="input-container">
<label>Bill</label>
<div class="amount-container">
<span>रु</span>
<input type="text" placeholder="Enter amount" id="input-amount">
</div>
</div>
<div class="tip-container">
<label>Select Tip</label>
<div class="tip-btns">
<button value="5">5%</button>
<button value="10">10%</button>
<button value="15">15%</button>
<button value="25">25%</button>
<button value="50">50%</button>
<button value="75">75%</button>
</div>
<input type="text" name="" id="custom-tip" placeholder="Custom Tip">
</div>
<div class="people-container">
<label>Number Of People</label>
<input type="text" name="" id="people" placeholder="1">
</div>
<button class="generate-bill">Generate Bill</button>
</div>
<div class="bill-output">
<div class="total-amount">
<div class="output">
<h4>Tip Amount</h4>
<div class="output-container">
<span>रु</span>
<span class="tip-value"></span>
</div>
</div>
<div class="output">
<h4>Total</h4>
<div class="output-container">
<span>रु</span>
<span class="total-value"></span>
</div>
</div>
<div class="output">
<h4>Each Person Bill</h4>
<div class="output-container">
<span>रु</span>
<span class="person-bill"></span>
</div>
</div>
</div>
<button class="reset-btn">Reset</button>
</div>
</main>
<script src="./sources/scripts/main.js"></script>
</body>
</html>