forked from Rohitpatil4141/Employee-management-system
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
72 lines (68 loc) · 1.77 KB
/
index.html
File metadata and controls
72 lines (68 loc) · 1.77 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Employee Management System</title>
<link rel="stylesheet" href="styles.css" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"
/>
</head>
<body>
<header>
<h1>Employee Management System</h1>
</header>
<main>
<section class="form-section">
<h2>Add New Employee</h2>
<form id="employee-form">
<input
type="text"
id="name"
placeholder="Full Name"
required
autocomplete="off"
/>
<input
type="email"
id="email"
placeholder="Email Address"
required
autocomplete="off"
/>
<select id="department" required>
<option value="" disabled selected>Select Department</option>
<option>HR</option>
<option>Finance</option>
<option>Engineering</option>
<option>Marketing</option>
<option>Sales</option>
</select>
<button type="submit">Add Employee</button>
</form>
</section>
<section class="table-section">
<h2>Employee List</h2>
<table id="employee-table">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th>Department</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<!-- Employee rows will be inserted here -->
</tbody>
</table>
</section>
</main>
<footer>
<p>© 2025 Employee Management System</p>
</footer>
<script src="script.js"></script>
</body>
</html>