-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (74 loc) · 2.38 KB
/
index.html
File metadata and controls
80 lines (74 loc) · 2.38 KB
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
<!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 rel="stylesheet" href="index.css">
<title>BookApp</title>
</head>
<body>
<header>
<!-- nav bar -->
<nav class="navbar">
<h1>Awesome Books</h1>
<ul class="nav-list">
<li class="nav-link1">List</a></li>
<li class="nav-link2">Add Book</a></li>
<li class="nav-link3">Contact</a></li>
</ul>
</nav>
</header>
<div class="time"></div>
<!-- Book list section -->
<section class="booklist" id="list">
<table>
<thead>
<tr>
<th>Book</th>
<th>Author</th>
<th>Remove book</th>
</tr>
<h3>All awesome books</h3>
</thead>
<tbody class="bookstore"></tbody>
</table>
</section>
<!-- Add a new book -->
<section class="addbook" id="newbook">
<h4>Add a new book</h4>
<form id="addbook-form">
<div class="div-form">
<div id="error">Please fill in all fields!</div>
<label for="title">
<input type="text" class="title" name="title" placeholder="Book">
</label>
<label for="author">
<input type="text" class="author" name="author" placeholder="Author">
</label>
<div class="btn-add">
<button type="submit" id="addbook">Add book</button>
</div>
</div>
</form>
</section>
<!-- Contact section -->
<section class="contact" id="contact">
<h4>Contact Information</h4>
<div class="contents">
<p>Do you have some questions or just want to same "Hello"?<br>You can reach out to us!
</p>
<ul class="cont-info">
<li>Our email mail@mail.com</li>
<li>Our phone number +864894747</li>
<li>Our address: Streethome,89,City,Country</li>
</ul>
</div>
</section>
<div class="footer">
<h5>Copyright…</h5>
</div>
<!-- javascript -->
<script type="module" src="index.js"></script>
</body>
</html>