-
Notifications
You must be signed in to change notification settings - Fork 0
/
my-book-list.html
54 lines (48 loc) · 1.51 KB
/
my-book-list.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script src="https://kit.fontawesome.com/9161df2318.js"></script>
<link rel="stylesheet" href="https://bootswatch.com/4/journal/bootstrap.min.css">
<title>MyBookList App</title>
</head>
<body>
<div class="container mt-5">
<h1 class="display-4 text-center">
<i class="fas fa-book-open"></i>
My<span class="text-primary">Book</span>List
</h1>
<form id="book-form" class="mt-5">
<div class="form-group">
<label for="title">Title</label>
<input type="text" id="title" class="form-control" />
</div>
<div class="form-group">
<label for="author">Autor</label>
<input type="text" id="author" class="form-control" />
</div>
<div class="form-group">
<label for="isbn">ISBN</label>
<input type="text" id="isbn" class="form-control" />
</div>
<button class="btn btn-lg btn-primary btn-block">
<i class="fas fa-book"></i>
Add Book
</button>
</form>
<table class="table table-striped mt-5">
<thead>
<th>Title</th>
<th>Author</th>
<th>ISBN</th>
<th></th>
</thead>
<tbody id="book-list"></tbody>
</table>
</div>
<script src="/assets/js/my-book-list.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@8"></script>
</body>
</html>