Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
HTML DOM Events
The focusin Event
Enter your name:
When the input field gets focus, a function changes the background-color.