-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (84 loc) · 2.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="assets/scss/main.css">
<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=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<title>Frontend Mentor | Tip calculator app</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style>
</head>
<body>
<img class="logo" src="assets/images/logo.svg" alt="logo Splitter">
<div class="main-card">
<div class="card-content">
<section class="card-info">
<div class="label">
<form action="">
<label class="label-title" for="">Bill</label>
<input class="dollar-icon" type="text">
</form>
</div>
<div class="label-block">
<form action="">
<label class="label-title" for="">Select Tip %</label>
<div class="percentage-option">
<input id="five" type="radio">
<label for="five">5%</label>
<input id="ten" type="radio">
<label for="ten">10%</label>
<input id="fifteen" type="radio">
<label for="fifteen">15%</label>
<input id="twentyfive" type="radio">
<label for="twentyfive">25%</label>
<input id="fifty" type="radio">
<label for="fifty">50%</label>
<input type="text" placeholder="custom">
</div>
</form>
</div>
<div class="label-block">
<form action="">
<label class="label-title" for="">Number of People</label>
<input class="person-icon" type="text">
</form>
</div>
</section>
<section class="card-results">
<div class="amount-container">
<div class="amount">
<div class="infos">
<h2>Tip Amount</h2>
<h3>/ person</h3>
</div>
<div class="price">
<h1>0.00</h1>
</div>
</div>
<div class="amount">
<div class="infos">
<h2>Total</h2>
<h3>/ person</h3>
</div>
<div class="price">
<h1>0.00</h1>
</div>
</div>
</div>
<button type="button" disabled>Reset</button>
</section>
</div>
</div>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">benjampo</a>.
</div>
</body>
</html>