-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (49 loc) · 1.44 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>Tip Calculator</title>
</head>
<body>
<div class="container">
<!-- Typewriter effect -->
<h1>
<div class="typewriter-effect">
<div class="text" id="typewriter-text">
</div>
</div>
</h1>
<!-- End -->
<form>
<p>Bill total?</p>
<div class="billAmountInput">
<input class="billAmt" type="text" placeholder="Bill Amount">
</div>
<p>How was the service?</p>
<div class="service">
<select name="serviceSelector" id="serviceSelector">
<option disabled selected>--Choose An Option --</option>
<option value="0.3">100% - Outstanding</option>
<option value="0.2">50% - Good</option>
<option value="0.15">40% - It was ok</option>
<option value="0.1">30% - Bad</option>
<option value="0.05">20% & below - Horrible</option>
</select>
</div>
</form>
<p>People sharing this bill?</p>
<div class="peopleAmtInput">
<input type="text" class="peopleAmt" placeholder="Number of people">
</div>
<button id="calculate">Calculate!</button>
<div id="totalTip">
<sup>$</sup><span id="tip">0.00</span>
<p id="each">each</p>
</div>
</div>
</body>
<script type="text/javascript" src="js/app.js"></script>
</html>