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