Skip to content

Commit

Permalink
matched label htmlFor attribute with id of input
Browse files Browse the repository at this point in the history
  • Loading branch information
GrannyYetta committed Aug 31, 2024
1 parent e963ef5 commit db8ee22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/List.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function List({ data }) {
</p>
<form onSubmit={handleSearch}>
<div>
<label htmlFor="search-input"> Search items:</label>
<label htmlFor="search-item-in-list"> Search items:</label>
<input
onChange={handleSearch}
type="search"
Expand Down

0 comments on commit db8ee22

Please sign in to comment.