-
Notifications
You must be signed in to change notification settings - Fork 0
/
addnewpage.html
57 lines (48 loc) · 1.84 KB
/
addnewpage.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
<!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>Add a new Book</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- header section starts here -->
<header>
<nav class="navbar">
<h1 class="awesomebookslogo" id="awesomebookstitle"> <i class="fas fa-book-open"></i> Awesome <span class="bk ">Books</span> </h1>
<ul class="navbar-ul">
<li><a id="booklisttitle" href="index.html">List</a></li>
<li><a id="addnewbooktitle" href="addnewpage.html">Add New</a></li>
<li><a id="contactBtn" href="contactpage.html">Contact</a></li>
</ul>
</nav>
</header>
<div id="current-date"></div>
<!-- header section ends here -->
<!-- form section starts here -->
<section>
<div class="form-body">
<form action="#" class="form-class" id="form-id">
<h2 id="addnewbooktitle">ADD A NEW BOOK</h2>
<input type="text" name="title" id="title" placeholder="Title" required>
<input type="text" name="author" id="author" placeholder="Author" required>
<button id="add-btn" type="submit">Add</button>
</form><br><br>
</div>
</section>
<div class="current-date">
<small id="time"></small>
</div>
<!-- form section ends here -->
<!-- footer section starts here -->
<footer>
<p>COPYRIGHT 2022, JAY-RACHEL-RIYANA SINGLE-PAGE APPLICATION </p>
</footer>
<!-- footer section ends here -->
<script src="./index.js" type="module"></script>
<script src="./awesomebooks.js"></script>
<script src="./localStorage.js"></script>
</body>
</html>