-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (78 loc) · 2.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Library Management System</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Library Management System</h1>
</header>
<nav>
<ul>
<li><a href="#books">Books</a></li>
<li><a href="#members">Members</a></li>
<li><a href="#transactions">Transactions</a></li>
</ul>
</nav>
<main>
<section id="books">
<h2>Books</h2>
<input type="text" id="searchBook" placeholder="Search for books..." onkeyup="searchBooks()">
<button onclick="addBook()">Add Book</button>
<table>
<thead>
<tr>
<th>Cover</th>
<th>Title</th>
<th>Author</th>
<th>Genre</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</section>
<section id="members">
<h2>Members</h2>
<button onclick="addMember()">Add Member</button>
<table>
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th>Membership Date</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</section>
<section id="transactions">
<h2>Transactions</h2>
<button onclick="addTransaction()">Add Transaction</button>
<table>
<thead>
<tr>
<th>Book</th>
<th>Member</th>
<th>Date Borrowed</th>
<th>Date Returned</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</section>
</main>
<footer>
<p>© 2025 Library Management System</p>
</footer>
<script src="scripts.js"></script>
</body>
</html>