-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi_travel.html
72 lines (62 loc) · 2.4 KB
/
i_travel.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
<!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>✈️ Travels</title>
<link rel="stylesheet" href="style_travel.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=Sora&family=Tourney:ital,wght@0,600;1,300&display=swap" rel="stylesheet">
</head>
<body>
<div id="container">
<h1>Let's Split our Costs!</h1>
<form>
<div class="amount">
<p>
Tour cost:</p>
<span> <input type="text" id= "bill" placeholder="Write the cost of the trip ($)...">
</span>
</div>
<div class="amount">
<p>
Insurance:</p>
<span> <input type="text" id= "insur" placeholder="Write insurance amount ($)...">
</span>
</div>
<div class="amount">
<p>
Tips (cleaning, housing, assistance):</p>
<span> <input type="text" id= "tips" placeholder="Write tips amount ($)...">
</span>
</div>
<div class="amount">
<p>
Number of people:</p>
<span> <input type="text" id="people" placeholder="How many people ...">
</span>
</div>
<button id="btn">Calculate</button>
</form>
<div id="showTotalAmountToPay">
<div id="totalAmount">
<p>Total per person:</p>
<span>$</span>
<span id="billAndTip"></span>
</div>
</div>
<div class="close">
<button class="btnClose"><img src="https://img.icons8.com/bubbles/57/000000/process.png" alt="reload"></button>
</div>
</div>
<div class="goback">
<a href="index.html"><img src="https://img.icons8.com/dusk/64/000000/circled-left-2.png"/></a>
</div>
<canvas id="my-canvas"></canvas>
<script src="index.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="scriptT.js"></script>
</body>
</html>