-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (104 loc) · 3.51 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!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>Awesome Book</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
</head>
<body>
<div class="wrapper container mb-5">
<nav
class="d-flex justify-content-between mb-2 mt-3 navbar navbar-light border border-dark"
>
<div class="mt-2 ms-3"><p>Awesome Books</p></div>
<div>
<ul class="d-flex justify-content-around nav">
<li class="me-3 nav-item border-end">
<a class="nav-link active link-dark" id="toList" href="#books">
List
</a>
</li>
<li class="me-3 nav-item border-end">
<a class="nav-link link-dark" id="toAdd" href="#add">Add new</a>
</li>
<li class="me-3 nav-item">
<a class="nav-link link-dark" id="toContact" href="#contact">
Contact
</a>
</li>
</ul>
</div>
</nav>
<p id="date" class="date d-flex justify-content-end"></p>
<div
class="content d-flex flex-column align-items-center justify-content-center"
>
<section id="books" class="w-100">
<h1 class="mb-5 text-center">All Awesome Books</h1>
<div id="bookList"></div>
</section>
<section id="add">
<h1>Add a new book</h1>
<form id="bookForm" class="d-flex flex-column mt-5">
<div class="col-sm-12 mb-3">
<input
type="text"
class="form-control"
name="title"
id="title"
placeholder="Title"
required
/>
</div>
<div class="col-sm-12 mb-3">
<input
type="text"
name="author"
class="form-control"
id="author"
placeholder="Author"
required
/>
</div>
<div class="col-sm-12 d-flex justify-content-end">
<input
type="submit"
class="btn btn-outline-dark"
id="addBook"
value="Add"
/>
</div>
</form>
</section>
<section id="contact" class="contact mt-5 align-content-center">
<h1 class="mb-5">Contact Information</h1>
<p>Do you have any questions or you just want to say "Hello"?</p>
<p>You can reach out to us!</p>
<ul>
<li>Our email [email protected]</li>
<li>Our phone umber 010233223232323</li>
<li>Our address Streetname 22,795695 City, Country</li>
</ul>
</section>
</div>
</div>
<footer id="footer" class="container">
<div class="border border-dark">
<span class="text-muted">Copyright</span>
</div>
</footer>
<script type="module" src="script.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"
></script>
</body>
</html>