-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (77 loc) · 2.68 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
80
81
<!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="stylesheet" href="style.css" />
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.8/css/line.css">
</head>
<body>
<header>
<nav>
<div class="library-name"><h1>T-library</h1></div>
<button class="add-a-book-btn">Add a Book</button>
</nav>
</header>
<main>
<div class="container">
<!-- Defined book element through JS -->
<!-- <div class="book">
<div class="book-title">Atomic Habits</div>
<div class="book-details">
<div class="author detail">
<div class="author-hero">Author</div>
<div class="author">James Clear</div>
</div>
<div class="status detail">
<div class="status-hero">Status</div>
<div class="what-status">Not Started</div>
</div>
<div class="pages detail">
<div class="pages-hero">Pages</div>
<div class="page-nos">200</div>
</div>
</div>
<div class="remove-book">Remove</div>
</div> -->
</div>
<!-- !Book Form -->
<div class="add-book-form">
<form action="" class="form">
<h2>Add a Book</h2>
<div class="title-field">
<label for="book-titel">Title</label>
<input type="text" name="book-title" id="book-title" value="" required />
</div>
<div class="author-field">
<label for="author">Author</label>
<input type="text" name="author" id="author" value="" required />
</div>
<div class="status-field">
<label for="status">Status</label>
<select name="status" id="status" required>
<option value="In Progress">In Progress</option>
<option value="Not Started">Not Started</option>
<option value="Completed">Completed</option>
</select>
</div>
<div class="pages-field">
<label for="page-count">Pages</label>
<input type="number" name="page" id="page" />
</div>
<button class="submit-button">Add</button>
<button class="cancel-button">Cancel</button>
</form>
</div>
</main>
<footer>
<div class="foo">
<p>@kshetritej <i class="uil uil-github"></i></p>
</div>
</footer>
<!-- !Script Connection -->
<script src="script.js"defer></script>
</body>
</html>