forked from DingusAndZazzy/Calcu-later
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (84 loc) · 2.37 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
84
85
<!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>Document</title>
<!-- fonts -->
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap" rel="stylesheet">
<!-- attach CSS file here -->
<link rel="stylesheet" href="./css/styles.css">
</head>
<body>
<header>
<h1>I am an H1</h1>
</header>
<!-- let attack the conatiner -->
<div class="container">
<section>
<div class="wrapper">
<label for="salary" class="label">
Salary
</label>
<div class="input-box">
<span>$</span>
<input type="number" value="0.00" id="salary" class="value">
</div>
</div>
<div class="wrapper">
<span class="label">Bonus</span>
<span id="bonus-amount" class="value">
$0
</span>
</div>
<hr>
<div class="wrapper">
<span class="label">Total Amount</span>
<span id="total-amount" class="value">
$0
</span>
</div>
</section>
<section>
<div class="wrapper">
<label for="bonus" class="label">
Bonus %
</label>
<span id="bonus-percent" class="value">
0
</span>
</div>
<input type="range" min="1" id="bonus" value="15">
<div class="wrapper">
<label for="no-of-people" class="label">
No. Of People
</label>
<span id="split-num" class="value">
0
</span>
</div>
<input type="range" min="1" max="15" id="no-of-people" value="1">
</section>
<section>
<div class="wrapper">
<span class="label">
Bonus Per Person
</span>
<span id="bonus-per-person" class="value">
$0
</span>
</div>
<div class="wrapper">
<span class="label">
Total Per Person
</span>
<span id="total-per-person" class="value">
$0
</span>
</div>
</section>
</div>
<script src="index.js"></script>
</body>
</html>