Issue
when I write <input class="search-bar" placeholder="search" >
, automatically it fills our search bar with the word "search".
(https://i.stack.imgur.com/8tLyO.png)
first question is I want to get rid of it and second question is when I fill this search bar with typing something, I want to show nothing when I deselect the search bar (click somewhere else). I deselected search bar by clicking somewhere else but it still showing my text
Solution
Remove the attribute placeholder.
Answered By - Papito
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.