-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (62 loc) · 2.42 KB
/
index.html
File metadata and controls
70 lines (62 loc) · 2.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Library</title>
<link rel="shortcut icon" href="favicon_io/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/f6fb301c7e.js" crossorigin="anonymous"></script>
</head>
<body>
<main>
<section class="main-heading">
<h1>Library</h1>
<h2>Books: <span id="book-count"></span></h2>
</section>
<div class="add-new-book">
<h3>Add A New Book</h3>
<div class="div"><i class="fa-solid fa-circle-plus"></i></div>
</div>
<!-- <section class="books">
</section> -->
<form id="book-form">
<div class="form-heading">
<div class="close"><i class="fa-solid fa-xmark"></i></div>
<h4>New Book</h4>
</div>
<div class="block-inputs">
<div>
<label for="title">Title</label>
<input type="text" placeholder="Title" name="title" id="title" required>
</div>
<div>
<label for="author">Author</label>
<input type="text" placeholder="Author" name="author" id="author" required>
</div>
<div>
<label for="pages">No Of Pages</label>
<input type="number" placeholder="Pages" name="pages" id="pages" required min="1">
</div>
</div>
<div class="radio-inputs">
<p>Have You Read This Book?</p>
<input type="radio" name="options" value="Yes" id="yes" required>
<label for="yes">Yes</label><br>
<input type="radio" name="options" value="No" id="no" required>
<label for="no">No</label><br>
</div>
<div class="submit">
<input type="submit" value="Add Book" id="submit">
</div>
</form>
<section class="books">
</section>
</main>
<!-- <i class="fa-solid fa-circle-plus"></i>
<i class="fa-solid fa-plus"></i>
<i class="fa-solid fa-trash-can"></i> -->
<script src="script.js"></script>
</body>
</html>