-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (68 loc) · 2.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Awesome books: plain JavaScript with objects</title>
</head>
<body>
<!-- navigation bar starts here -->
<nav>
<p>Awesome Books</p>
<div>
<a href="#list1" onclick="addRemove('list1')">List </a>
<a href="#list2" onclick="addRemove('list2')">Add new </a>
<a href="#list3" onclick="addRemove('list3')">Contact </a>
</div>
</nav>
<div id="date"></div>
<!-- navigation bar ends here -->
<!-- books list starts here -->
<div id="list1" class="list">
<h1>All awesome books</h1>
<div id="added-books" class="added-books"></div>
</div>
<!-- books list ends here -->
<!-- form starts here -->
<div class="form list" id="list2">
<h1>Add a new book</h1>
<form id="form">
<label for="title"></label>
<input type="text" id="title" placeholder="Title" required />
<br /><br />
<label for="author"></label>
<input
type="text"
id="author"
placeholder="Author"
required
/><br /><br />
<button type="submit">Add</button>
</form>
</div>
<!-- form ends here -->
<!-- contact starts here -->
<div id="list3" class="contact list">
<h1>Contact information</h1>
<p>
Do you have any question s or you just want to say "Hello"? <br />
You can reach out to us
</p>
<ul>
<li>Our e-mail: kayser.abbas@gmail.com</li>
<li>Our Phone number: +92 314 0071447</li>
<li>Our Address</li>
</ul>
</div>
<!-- contact starts here -->
<!-- footer starts here -->
<footer>
<h2>Copyright<span>       ... </span></h2>
</footer>
<!-- footer starts here -->
<script src="./script.js"></script>
<script src="./date-time.js"></script>
<script src="./page-content.js"></script>
</body>
</html>