-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (48 loc) · 1.61 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
<!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" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"
integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous" />
<link rel="stylesheet" href="bootstrap.min.css" />
<title>My BookList App</title>
</head>
<body>
<div class="container">
<div class="mt-4 w-50 mx-auto">
<h1 class="display-4 text-center"><i class="fas fa-book-open text-warning"></i> Y.S<span class="text-warning">
Book</span>List</h1>
<div class="al"></div>
</div>
<form id="book-form">
<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">Author</label>
<input type="text" id="author" class="form-control" />
</div>
<div class="form-group">
<label for="year">Year</label>
<input type="text" id="year" class="form-control" />
</div>
<input type="submit" value="Add Book" class="btn btn-warning btn-block form-control mt-4" />
</form>
<table class="table table-striped mt-5 text-center table-hovered">
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>Year</th>
</tr>
</thead>
<tbody id="book-list"></tbody>
</table>
</div>
</div>
<script src="app.js"></script>
</body>
</html>