forked from PrimeAcademy/weekend-js-salary-calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (60 loc) · 2.35 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
<!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="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<script src="jquery.min.js"></script>
<script src="script.js"></script>
<link rel="stylesheet" href="style.css">
<title>Document</title>
</head>
<header class="title-bar">
<h1>Salary Calculator</h1>
</header>
<body>
<section id="input-section">
<div id="input-fields">
<h3 id="input-label">Add Employee</h3>
<form action="" id="form-field">
<input type="text" name="firstName" class="input" id="first-name" placeholder="First Name" required />
<input type="text" name="lastName" class="input" id="last-name" placeholder="Last Name" required />
<input type="text" name="id" id="id" class="input" placeholder="ID" required />
<input type="text" name="title" id="title" class="input" placeholder="Title" />
<input type="text" name="annualSalary" class="input" id="annual-salary" placeholder="Annual Salary" required />
</form>
<div id="submit-btn-div">
<button id="submit-btn" type="submit">Submit</button>
</div>
</div>
</section>
<section id="employees-section">
<div class="label-div">
<h3>Employees</h3>
</div>
<div id="table-box">
<table id="employee-table">
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>ID</th>
<th>Title</th>
<th>Annual Salary</th>
<th> </th>
</tr>
</thead>
<tbody id="employee-rows">
</tbody>
</table>
</div>
</section>
<div id="total-section" class="under">
<h3 id="total-text">Total Monthly: <span id="monthly-amount"></span></h3>
</div>
<div class='test'></div>
</body>
</html>