Skip to content

Commit 0f5ee32

Browse files
committed
update min and max length to be more in line with VARCHAR used in databases
1 parent 39a9048 commit 0f5ee32

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

debugging/book-library/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h1>Library</h1>
3434
id="book-title"
3535
name="book-title"
3636
minlength="1"
37-
maxlength="200"
37+
maxlength="255"
3838
required
3939
/>
4040
<label for="author">Author: </label>
@@ -43,8 +43,8 @@ <h1>Library</h1>
4343
class="form-control"
4444
id="author"
4545
name="author"
46-
minlength="2"
47-
maxlength="100"
46+
minlength="1"
47+
maxlength="255"
4848
required
4949
/>
5050
<label for="pages">Pages:</label>

0 commit comments

Comments
 (0)