added the required attribute in the search box (#9911)

This commit is contained in:
Pritam Sarkar 2023-10-06 21:12:23 +05:30 committed by GitHub
parent 93581e883d
commit 197caa8318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ This page is available as an easy-to-read website. Access it by clicking on [![h
<div align="center"> <div align="center">
<form action="https://ebookfoundation.github.io/free-programming-books-search"> <form action="https://ebookfoundation.github.io/free-programming-books-search">
<input type="text" id="fpbSearch" name="search" placeholder="Search Book or Author"/> <input type="text" id="fpbSearch" name="search" required placeholder="Search Book or Author"/>
<label for="submit"> </label> <label for="submit"> </label>
<input type="submit" id="submit" name="submit" value="Search" /> <input type="submit" id="submit" name="submit" value="Search" />
</form> </form>