Skip to content

Commit

Permalink
改用 type="search" for better UX
Browse files Browse the repository at this point in the history
fixes #6
  • Loading branch information
doggy8088 authored Nov 9, 2024
1 parent de4bfcf commit 8af45dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="card-body">
<h1 class="card-title text-center mb-4">Microsoft Terminology Lookup</h1>
<div class="input-group mb-3">
<input type="text" id="termInput" autofocus="autofocus" class="form-control"
<input type="search" id="termInput" autofocus="autofocus" class="form-control"
placeholder="Enter term (English or Chinese)">
<button id="searchButton" class="btn btn-primary">Search</button>
</div>
Expand Down Expand Up @@ -145,4 +145,4 @@ <h5 class='card-title'>${item.english} / ${item.chinese}</h5>
</footer>
</body>

</html>
</html>

0 comments on commit 8af45dd

Please sign in to comment.