-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (76 loc) · 3.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tip Calculator</title>
<link rel="icon" type="image/x-icon" href="calculator_icon.png">
<link href="styles.css" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<!-- Fonts -->
<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=Abel&family=Anta&family=Jersey+10&family=Jersey+15&display=swap" rel="stylesheet">
<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=Bebas+Neue&family=Jersey+15&display=swap" rel="stylesheet">
<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=Abel&family=Jersey+15&display=swap" rel="stylesheet">
<style>
#results {
display:none;
}
</style>
</head>
<body class="bg-dark">
<div class="container">
<div class="row">
<div class="col-md-6 mx-auto">
<div id="calculator-background" class="card card-body text-center mt-5">
<h1 class="heading display-5 pb-3 bebas-neue-regular">Tip Calculator</h1>
<h3 class="bebas-neue-regular">Judgement Edition</h3>
<!-- Form Start -->
<form id="tip-form">
<div class="form-group">
<div class="input-group">
<span class="input-group-addon abel-regular" id="label1">$</span>
<input type="number" class="form-control jersey-15-regular" id="billTotal" placeholder="Total Bill">
</div>
</div>
<div class="form-group tipPersent">
<div class="input-group" id="input-group1">
<label for="" >Tip: </label>
<input type="range" class="form-control" id="tipInput" value="0">
<span class="input-group-addon jersey-15-regular" id="tipOutput"></span>
</div>
</div>
</form>
<!-- Form End -->
<hr>
<!-- Results Start -->
<div id="results" class="pt-4">
<h5 class="results bebas-neue-regular">Results</h5>
<div class="form-group">
<div class="input-group" id="input-group2">
<span class="input-group-addon abel-regular" id="label2">Tip amount</span>
<input type="number" class="form-control jersey-15-regular" id="tipAmount" placeholder="$" disabled>
</div>
</div>
<div class="form-group">
<div class="input-group" id="input-group3">
<span class="input-group-addon abel-regular"id="label3">Total Bill with Tip</span>
<input type="number" class="form-control jersey-15-regular" id="totalBillWithTip" placeholder="$" disabled>
</div>
</div>
<div id="statement">
</div>
</div>
<!-- Results End -->
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>