-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (35 loc) · 1.36 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
<!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">
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
<title>Tip Calculator</title>
</head>
<body>
<main>
<div class="container">
<h1>TIP CALCULATOR</h1>
<div class="content">
<form>
<p><b>How much was your bill?</p>
<input id="billAmount" type="text" placeholder="Bill Amount"> $
<p>How was your sevice?</p>
<select id="quality">
<option disabled selected value="0">-- Choose an Option --</option>
<option value="0.3">30% - Outstanding</option>
<option value="0.2">20% - Good</option>
<option value="0.1">10% - Bad</option>
</select>
<p>How many people are sharing the bill?</p>
<input id="peoples" type="text" placeholder="Number of People"> People
</form>
<button type="submit">Calculate</button>
</div>
<div id="resaults"><sup>$</sup><span></span></div>
</div>
</main>
</body>
</html>