Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
Enter your name:
When the input field gets focus, a function is triggered which changes the background-color.