DRAG DROP
You create a webpage that includes the following HTML markup: (Line numbers are included
for reference only.)
You need to ensure that a form cannot be submitted unless the INPUT element contains the
word OK.
Which five actions should you perform in sequence? (To answer, move the appropriate
actions from the list of actions to the answer area and arrange them in the correct order.)

Answer: See the explanation
Both ‘input:first-child’ and ‘input:first’ work. Both inputs have a parent element.
https://fiddle.jshell.net/9hawj12q/1/
0
0
:first is for printing. Don’t use it here.
0
0