-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (81 loc) · 3.67 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
<!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">
<meta name="description"
content='Tthe Awesome books application is converted into a fully functional website. The following sections are added: A book list, book form, contact info section, a navigation bar, and a footer.' />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<title>Awesome books: plain JavaScript with objects</title>
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<header class="navi-cont container-fluid bg-primary">
<a class="logo navi-cont d-none d-sm-block"> Awesome Books</a>
<nav>
<ul class="nav-menu navi-cont">
<li id="home-li" class="nav-item home">
<a href="#home">List</a>
</li>
<li id="add-book-li" class="nav-item add-book">
<a href="#add-book">Add New</a>
</li>
<li id="contact-li" class="nav-item contact">
<a href="#contact">Contact</a>
</li>
</ul>
</nav>
</header>
<div class="container-fluid time-container text-end"></div>
<section id="home" class="mt-3 container-fluid">
<div class="container">
<h3 class="text-center mt-3">
All awesome books
</h3>
<div class="container-books mt-3 border border-dark rounded d-flex flex-column"></div>
</div>
</section>
<section id="add-book" class="mt-3 close container-fluid">
<div class="container">
<h3 class="text-center mt-3">
Add a new Book
</h2>
<form class="text-center" id="book-form">
<div class="d-flex justify-content-center ">
<label for="title" class='form-label'></label>
<input type="text" id="title" class="form-control" placeholder="Title" required>
</div>
<div class="">
<label for="author" class='form-label'></label>
<input type="text" id="author" class="form-control" placeholder="Author" required>
</div>
<button type="submit"
class="justify-content-end btn btn-outline-dark mt-3 border-end border-bottom border-4 border-dark">Add</button>
</form>
</div>
</section>
<section id="contact" class="container mt-3 text-center close container-fluid">
<div class="text-center">
<h2>Contact Information</h2>
<p class="h4 mt-3">Please reach us on the below detials:</p>
<ul class="list-contact text-start">
<li>Mancoba</li>
<li><a href="https://linkfree.eddiehub.io/manq2010">my bio</a></li>
<li>Johanessburg - South Africa</li>
</ul>
<ul class="list-contact text-start mt-3">
<li>Festus</li>
<li><a href="https://github.com/Enning94">github</a></li>
<li>Accra - Ghana</li>
</ul>
</div>
</section>
<footer class="container d-flex border mt-3 pt-3 fixed-bottom bg-light">
<p class="text-start d-flex">Copyright © 2022 Awesome Books
</p>
</footer>
<script src="/js/index.js" type="module"></script>
</body>
</html>