-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (57 loc) · 2.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bahşiş Hesaplayıcı</title>
<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:wght@400;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="/css/style.css" />
</head>
<body>
<div class="logo"><img src="images/logo.svg" alt="" /></div>
<div class="tip-calculator">
<div class="partOne">
<label for="">Fatura</label>
<input type="number" class="input bill-input" id="bill-input">
<label for="">Bahşiş Oranı Seçiniz</label>
<div class="tip">
<div class="tips tip-5">5%</div>
<div class="tips tip-10">10%</div>
<div class="tips active-tip tip-15">15%</div>
<div class="tips tip-25">25%</div>
<div class="tips tip-50">50%</div>
<div id="tip-custom"><input class="tip-custom" type="number" placeholder="% GİR"></div>
</div>
<div class="peopleLabel">
<label for="">Faturayı Ödeyecek Kişi Sayısı</label>
<label for="" class="error">Yüzdelik 0 olamaz!</label>
</div>
<input type="number" class="input people-input">
</div>
<div class="result">
<div class="tip-amount">
<div class="text">
<p>Bahşiş Tutarı</p>
<p class="person">/ kişi başı</p>
</div>
<div class="amount" id="tip-amount">5₺</div>
</div>
<div class="total">
<div class="text">
<p>Ödenecek Tutar</p>
<p class="person">/ kişi başı</p>
</div>
<div class="amount" id="total-amount">30₺</div>
</div>
<div class="reset">SIFIRLA</div>
</div>
<div>
<script src="/script/script.js"></script>
</body>
</html>