-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (68 loc) · 2.63 KB
/
index.html
File metadata and controls
69 lines (68 loc) · 2.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project: Libray</title>
<link rel="stylesheet" href="styles/style.css">
<link rel="icon" href="assets/icons8-ebook-64.png" type="image/x-icon">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Press+Start+2P&family=Sigmar&display=swap" rel="stylesheet">
</head>
<body>
<header>
<nav>
<div class="log-box">
<img src="assets/icons8-ebook-64.png" alt="" class="logo"><h1>eLibrary</h1>
</div>
<div class="search-box">
<form action="">
<input type="text" name="search" placeholder="Search for a book">
<button><img src="assets/icons8-search-50.png" alt=""></button>
</form>
</div>
</nav>
<div class="banner">
<div class="banner-text">
<h1>LOTS OF EBOOKS.</h1>
<h2>100% FREE.</h2>
</div>
</div>
</header>
<main>
<div>
<dialog>
<div class="form-header">
<h2>eLibrary | Add New Book</h2>
</div>
<form method="dialog" class="book-form">
<label for="title">
Title:
</label> <br>
<input type="text" id="title" name="title" required><br>
<label for="author">
Author:
</label><br>
<input type="text" id="author" name="author" required><br>
<div class="nb-box">
<label for="pages">
Pages:
</label>
<input type="number" id="pages" name="pages" required>
</div>
<label for="read" class="read">Read: <input type="checkbox" id="read"></label>
<div class="form-btn-box">
<button id="addBtn" type="submit">Add</button>
<button id="cancelBtn" type="reset">Cancel</button>
</div>
</form>
</dialog>
<button id="showDialogBoxBtn">New Book</button>
</div>
<div class="container">
</div>
</main>
<script src="JS/main.js"></script>
</body>
</html>