-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
64 lines (62 loc) · 2.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');
</style>
<link rel='stylesheet' href='styles.css' >
<title>Splitter</title>
<script src='scripts.js' defer></script>
</head>
<body>
<h1 class='title'>SPLITTER</h1>
<div class='splitter'>
<div class='left-column'>
<div class='bill-div'>
<h3>Bill</h3>
<div class='input-wrapper'>
<img src='images/icon-dollar.svg' class='icon'>
<input data-price type='number' class='left-input' placeholder='0'>
</div>
</div>
<div class='tip-percent-div'>
<h3>Select Tip %</h3>
<div class='tip-percent'>
<button data-percentage class='percentage-button'>5%</button>
<button data-percentage class='percentage-button'>10%</button>
<button data-percentage class='percentage-button'>15%</button>
<button data-percentage class='percentage-button'>25%</button>
<button data-percentage class='percentage-button'>50%</button>
<input data-percentage-custom type="number" class="custom-percentage" placeholder="Custom">
</div>
</div>
<div class='people-number-div'>
<h3>Number of People</h3>
<div class='input-wrapper'>
<img src='images/icon-person.svg' class='icon'>
<input data-people type='number' class='left-input' placeholder='0'>
</div>
</div>
</div>
<div class='right-column'>
<div class='total-div'>
<div class='total-text'>
<h3 class='total-type'>Tip Amount</h3>
<p class='divide'>/person</p>
</div>
<p data-tip-per-person class='total tip-total'>$ 0</p>
</div>
<div class='total-div'>
<div class='total-text'>
<h3 class='total-type'>Total</h3>
<p class='divide'>/person</p>
</div>
<p data-total-per-person class='total full-total'>$ 0</p>
</div>
<button data-reset class='button'>RESET</button>
</div>
</div>
</body>
</html>