Skip to content

Commit 326c8a5

Browse files
committed
Fixed the problems
1 parent d3c51c0 commit 326c8a5

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

debugging/book-library/index.html

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title> </title>
5-
<meta
6-
charset="utf-8"
7-
name="viewport"
8-
content="width=device-width, initial-scale=1.0"
9-
/>
4+
<title>ModuleDataFlaw.BookLibrary</title>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
107
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
118
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
129
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
@@ -31,15 +28,15 @@ <h1>Library</h1>
3128
<div class="form-group">
3229
<label for="title">Title:</label>
3330
<input
34-
type="title"
31+
type="text"
3532
class="form-control"
3633
id="title"
3734
name="title"
3835
required
3936
/>
4037
<label for="author">Author: </label>
4138
<input
42-
type="author"
39+
type="text"
4340
class="form-control"
4441
id="author"
4542
name="author"
@@ -65,7 +62,7 @@ <h1>Library</h1>
6562
type="submit"
6663
value="Submit"
6764
class="btn btn-primary"
68-
onclick="submit();"
65+
onclick="submit(event);"
6966
/>
7067
</div>
7168
</div>
@@ -81,16 +78,11 @@ <h1>Library</h1>
8178
</tr>
8279
</thead>
8380
<tbody>
84-
<tr>
85-
<td></td>
86-
<td></td>
87-
<td></td>
88-
<td></td>
89-
<td></td>
90-
</tr>
81+
9182
</tbody>
9283
</table>
9384

9485
<script src="script.js"></script>
9586
</body>
9687
</html>
88+

0 commit comments

Comments
 (0)