You are creating a web form that users will use to enter their personal information. The form
includes the following HTML.
You have the following requirements:
When a user enters an input box, the cell on the right must turn green.
When a user leaves an input box, the cell on the right must turn white.
You need to create the web form to meet these requirements.
Which code segment should you use?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
nth-child is 1-based
http://api.jquery.com/nth-child-selector/
eq is zero-based
http://api.jquery.com/eq-selector/