-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (69 loc) · 1.96 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
<!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 Books With ES6</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<header class="header">
<nav class="nav">
<div class="logo"><a href="#">Awesome Books</a></div>
<ul class="nav-list">
<li class="nav-item"><a id="list" class="nav-link">List</a></li>
<li class="nav-item"><a id="add" class="nav-link">Add new</a></li>
<li class="nav-item"><a id="contact" class="nav-link">Contact</a></li>
</ul>
</nav>
<div class="date">
<p id="time"></p>
</div>
</header>
<main class="main">
<section class="all-books">
<h2>All Awesome Books</h2>
<div class="added-bklist">
<!-- Add the items from in js -->
</div>
</section>
<!-- Add book section -->
<section class="add-book hide">
<h2>Add a new book</h2>
<form action="#" id="added-book" class="form">
<div class="input-container">
<input id="title" type="text" placeholder="Title" required>
</div>
<br>
<div class="input-container">
<input id="author" type="text" placeholder="Author" required>
</div>
<br>
<button type="submit">Add</button>
</form>
</section>
<!-- Contact section -->
<section class="contact hide">
<div class="contact-header">
<h2>Contact Information</h2>
</div>
<div class="contact-body">
<p>Do you have any questions or you just want to say "Hello"?</p>
<p>You can reach out to us!</p>
</div>
<div class="contact-list">
<ul>
<li>Our email:[email protected]</li>
<li>Our phone number: +250790373062</li>
<li>Our address: Romanian city, Rwanda</li>
</ul>
</div>
</section>
</main>
<footer class="footer">
<p class="copy">Copyright 2022: Created by Thomas Gasangwa</p>
</footer>
<script type="module" src="index.js"></script>
</body>
</html>