-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (95 loc) · 4.2 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
<!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">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<title>Awesome Books</title>
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" id="home" href="#">Awesome Books</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#" id="list">List</a>
</li>
<li class="nav-item border-start border-3" id="newbookLi">
<a class="nav-link" href="#" id="newbook">Add New</a>
</li>
<li class="nav-item border-start border-3" id="contactNavLinkLi">
<a class="nav-link" href="#" id="contactNavLink">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main class="container-fluid">
<section class="row">
<div class="col-12 d-flex justify-content-end mt-4 fs-6" id="dateTime"></div>
</section>
<section class="row" id="bookList">
<div class="col-12 d-flex justify-content-center">
<h1 class="mb-3 mt-5">All awesome Books</h1>
</div>
<div class="col-12 d-flex justify-content-center">
<table class="table table-striped table-hover w-75 border border-dark border-4 table-borderless">
<tbody id="booksContainer">
</tbody>
</table>
</div>
</section>
<section class="row d-none" id="myForm">
<div class="col-12 d-flex justify-content-center flex-column align-items-center">
<h1 class="mt-5 mb-3">Add a new Book</h1>
<form onsubmit="return myFunction();" id="myForm" class="w-50 ">
<input type="text" placeholder="Title" required id="title" class="form-control fs-5"><br>
<input type="text" placeholder="Author" required id="author" class="form-control fs-5"><br>
<div class="d-flex justify-content-end">
<input type="submit" value="Add" id="submit" class="submit btn btn-success btn-lg">
</div>
</form>
</div>
</section>
<section class="row d-none" id="myContact">
<div class="col-12 d-flex justify-content-center flex-column align-items-center mt-5">
<h1>Contact Information</h1>
</div>
<div class="col-12 d-flex justify-content-center flex-column align-items-center mb-3 mt-5">
<h4>Do you have any question or you want to say "hello"?
<br>
<span>You can reach out to us!</span>
</h4>
</div>
<div class="col-12 d-flex justify-content-center flex-column align-items-center">
<ul>
<li>Our e-mail: emmanuelisabirye9@gmail.com, aristides1000@gmail.com</li>
<li>Our Phone number: +256775743815, +584261213568
</li>
<li>Our Address: Streetname 22, 84503 City, Country</li>
</ul>
</div>
</section>
</main>
<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top fixed-bottom">
<p class="col-md-4 mb-0 ms-4 text-muted">© Copyright</p>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj"
crossorigin="anonymous"></script>
<script src="./js/luxon.js"></script>
<script src="./js/book.js"></script>
<script src="./js/script.js"></script>
<script src="./js/dom.js"></script>
</body>
</html>