forked from PrimeAcademy/weekend-js-salary-calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (49 loc) · 1.49 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Salary Calculator</title>
<script src="jquery.min.js" charset="utf-8"></script>
<script src="scripts.js" charset="utf-8"></script>
<link href='styles.css' rel='stylesheet' type='text/css'/>
</head>
<!-- ///*** employee first name, last name, ID number, job title, annual salary. -->
<div id="container">
<body>
<header>
<h1 align="center">Employee Data Form</h1>
</header>
<div class="inputs">
<h4>Enter data in the boxes below:</h4>
<input type="text" id="firstName" placeholder="First Name">
<input type="text" id="lastName" placeholder="Last Name">
<input type="number" id="idNumber" placeholder="idNumber">
<input type="text" id="jobTitle" placeholder="Job Title">
<input type="number" id="salary" placeholder="Salary">
<button type="button" id="submitButton">Submit</button>
</div>
<div>
<h3 id="totalMonthlyCost"></h3>
</div>
<div>
<h4>Current Employee Data List:</h4>
<table class="center">
<thead>
<tr id="rowNames">
<th>First Name</th>
<th>Last Name</th>
<th>ID Number</th>
<th>Job Title</th>
<th>Salary</th>
</tr>
</thead>
<tbody id="dataTableBody">
<tr id="outputDataRows">
</tr>
<tr>
</tr>
</tbody>
</table>
</body>
</div>
</html>