Edit This Code:
See Result »
Enter your name:
When the input field gets focus, a function is triggered which changes the background-color.
Result: