-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (51 loc) · 1.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Student Registration System</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Student Registration System</h1>
<p>Register, edit, or delete student details easily.</p>
</header>
<main>
<section id="registration-form">
<h2>Student Registration</h2>
<form id="studentForm">
<label for="studentName">Name:</label>
<input type="text" id="studentName" required placeholder="Enter your Full Name">
<label for="studentId">Student ID:</label>
<input type="number" id="studentId" required placeholder="Enter your ID number">
<label for="email">Email ID:</label>
<input type="email" id="email" required placeholder="Enter your email address">
<label for="contactNumber">Contact No.:</label>
<input type="number" id="contactNumber" required pattern="\d{10}" minlength="10" maxlength="10" placeholder="Enter 10-digit number">
<br>
<button type="submit">Add Student</button>
</form>
</section>
<section id="studentRecords">
<h2>Registered Students</h2>
<table id="studentTable">
<thead>
<tr>
<th>Name</th>
<th>Student ID</th>
<th>Email</th>
<th>Contact No.</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<!-- Dynamic student records will be displayed here -->
</tbody>
</table>
</section>
</main>
<script src="script.js"></script>
</body>
</html>