Skip to content

Commit 3197a2b

Browse files
committed
fix input types and remove placeholder table row
1 parent 43ed85f commit 3197a2b

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

debugging/book-library/index.html

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ <h1>Library</h1>
2626
<div id="demo" class="collapse">
2727
<div class="form-group">
2828
<label for="title">Title:</label>
29-
<input type="title" class="form-control" id="title" name="title" required />
29+
<input type="text" class="form-control" id="title" name="title" required />
3030
<label for="author">Author: </label>
31-
<input type="author" class="form-control" id="author" name="author" required />
31+
<input type="text" class="form-control" id="author" name="author" required />
3232
<label for="pages">Pages:</label>
3333
<!-- FIXED: add min & step, remove stray '+' -->
3434
<input type="number" class="form-control" id="pages" name="pages" min="1" step="1" required />
@@ -49,15 +49,7 @@ <h1>Library</h1>
4949
<th></th>
5050
</tr>
5151
</thead>
52-
<tbody>
53-
<tr>
54-
<td></td>
55-
<td></td>
56-
<td></td>
57-
<td></td>
58-
<td></td>
59-
</tr>
60-
</tbody>
52+
<tbody></tbody>
6153
</table>
6254

6355
<script src="script.js"></script>

0 commit comments

Comments
 (0)