-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (75 loc) · 2.83 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="author" content="Oussama Elabdioui @codedit334">
<meta name="description" content="Rewrite Awsome books using modules">
<meta name="keywords" content="ES6, Modules, Awesome Books">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./index.css">
<title>Awesome Books ES6</title>
</head>
<body>
<header>
<nav>
<span class="logo">Awesome Books</span>
<ul class="menu">
<li data-target ='book-section'class="nav-list active">List</li>
<li>|</li>
<li data-target ='add-book-section'class="nav-add">Add new</li>
<li>|</li>
<li data-target ='contact-section'class="nav-contact"> Contact</li>
</ul>
</nav>
<div class="date-div">
March 19th 2021
</div>
</header>
<main class="main-section">
<section class="book-section">
<div class="books">
<h1 class="heading">Awesome Books</h1>
<ul class="book-list">
<li>
<div class="book-title">Book title</div>
<div class="book-title">Book description</div>
<button class="remove_book">Remove</button>
<hr>
</li>
</ul>
</div>
</section>
<section class="add-book-section hidden">
<form action="">
<h2 class="form-heading">Add a new book</h2>
<label for="form-title" hidden></label>
<input type="text" name="form-title" id="form-title" placeholder="Title" required><br>
<label for="form-author"></label>
<input type="text" name="form-author" id="form-author" placeholder="Author" required><br>
<input type="submit" class="form-add" value="Add">
</form>
</section>
<section class="contact-section hidden">
<h2>
Contact information
</h2>
<div class="questions">
<p>Do you have any questions or you just want to say "Hello"?</p>
<h6>You can reach out to us!</h6>
<ul class="contact-info">
<li>Our e-mail mail@mail.com</li>
<li>Our phone number 0043586534422</li>
<li>Our address Streetname 22, 84603 City Country</li>
</ul>
</div>
</section>
</main>
<footer>
<span>
<div class="copy">Copyright ...</div>
</span>
</footer>
</body>
<script type="module" src="./index.js"></script>
</html>