-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (36 loc) · 1.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Library-Books</title>
<link rel="shortcut icon" href="./libraryicon.png" type="image/x-icon">
<script src="https://cdn.tailwindcss.com"></script>
<style type="text/tailwindcss">
@layer components
{
.input{
@apply px-4 py-2 w-full rounded bg-gray-200 outline-none
}
}
</style>
</head>
<body class="bg-[url('./libraryimg.jpg')] h-screen bg-no-repeat bg-top bg-cover pt-10">
<div class="bg-white p-8 rounded max-w-xl mx-auto">
<h4 class="font-semibold text-xl">Library Book</h4>
<form class="space-y-3 mt-1" name="Lib-Form">
<input type="text" id="BookName" placeholder="Book Name" class="input" required>
<input type="text" id="AuthorName" placeholder="Author Name" class="input" required>
<button type="submit" class="bg-orange-500 text-xl semibold rounded text-white px-3 py-1">save</button>
</form>
</div>
<section class="bg-white my-2 p-5 px-1 rounded max-w-xl mx-auto">
<h4 class="font-semibold text-xl">Add Book (<span id="count" class="text-blue-500">0</span>)</h4>
<ul class="mt-3 rounded p-1" id="LibraryRecord">
</ul>
</section>
<script src="LibraryBook/Library.js"></script>
<script src="LibraryBook/Book.js"></script>
<script src="LibraryBook/script.js"></script>
</body>
</html>