-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (39 loc) · 1.57 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
<!DOCTYPE html>
<html lang="pl">
<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>Document</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<script src="https://kit.fontawesome.com/2c7b1ed473.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="wrapper">
<div class="top">
<h1>BILL SPLITTER <i class="fa-solid fa-circle-dollar-to-slot"></i></h1>
<p>Podziel się rachunkiem ze znajomymi! </p>
</div>
<div class="bottom">
<label for="price">Kwota do zapłaty:</label>
<input type="number" id="price">
<label for="people">Ilość osób:</label>
<input type="number" id="people">
<label for="tip">Napiwek:</label>
<select id="tip">
<option value="0" disabled selected>- wybierz napiwek</option>
<option value="0.05">5%</option>
<option value="0.1">10%</option>
<option value="0.15">15%</option>
<option value="0.2">20%</option>
</select>
<button class="count">Oblicz</button>
<p class="error"></p>
<p class="cost-info">Powinniście się złożyć po <span class="cost"></span>zł.</p>
</div>
</div>
<script src="script.js"></script>
</body>
</html>