0

How to add legend to input, when user input a letter?

Like label but in a form of legend. https://code.sololearn.com/W4qA3Jq0h8JD/?ref=app

17th Oct 2022, 2:07 AM
Mozzie
Mozzie - avatar
1 Odpowiedź
+ 1
I'm not sure what you want to do 😅 To display the legend on user input, You have to create a JavaScript event with oninput. Display the legend if event.target is not empty.
17th Oct 2022, 5:13 AM
Roland
Roland - avatar