-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (59 loc) · 2.28 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Bill Splitter</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="png" href="/LOGO.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Gothic+A1:wght@500&display=swap" rel="stylesheet">
</head>
<body>
<div class = "container center">
<div class = "bill-divider-wrapper">
<div class = "title">
<h1>BILL SPLITTER</h1>
</div>
<div class = "bill-inputs">
<form id = "bill-divider-form">
<div class = "form-group">
<label for = "subtotal">subtotal bill (₹,$)</label>
<input type = "number" id = "subtotal" class = "form-control" min = "0" step = "any" required>
</div>
<div class = "form-group">
<label for = "tip">tip (%)</label>
<input type = "number" id = "tip" class = "form-control" min = "0" step = "any" required>
</div>
<div class = "form-group">
<label for = "no-of-person">no of person</label>
<input type = "number" id = "no-of-person" class = "form-control" min = "0" step = "1" required>
</div>
<input type = "submit" id = "calc-btn" value = "calculate">
</form>
</div>
<div class = "bill-output">
<div class = "text-group">
<h3>Total Bill</h3>
<span id = "total-bill">$ 00.00</span>
</div>
<div class = "text-group">
<h3>Bill Per Person</h3>
<span id = "bill-per-person">$ 00.00</span>
</div>
<div class = "text-group">
<h3>Total Tip</h3>
<span id = "total-tip">$ 00.00</span>
</div>
<div class = "text-group">
<h3>Tip Per Person</h3>
<span id = "tip-per-person">$ 00.00</span>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>