Skip to content

Commit 558b525

Browse files
committed
use button for submit since there is no form element
1 parent 3197a2b commit 558b525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debugging/book-library/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1>Library</h1>
3535
<label class="form-check-label">
3636
<input type="checkbox" class="form-check-input" id="check" value="" />Read
3737
</label>
38-
<input type="submit" value="Submit" class="btn btn-primary" onclick="submit();" />
38+
<button type="button" class="btn btn-primary" onclick="submit()">Submit</button>
3939
</div>
4040
</div>
4141

0 commit comments

Comments
 (0)