- 4
Fill in the blanks to select the first child of the div element.
Ans $ 0
3 Respuestas
+ 5
What is your question? Please put the ***complete*** question in the description.
0
div :first-child{} selects the first child of div element. In selector There should be space between div and semicolon
Otherwise div:firstchild{} will select any div that is first child of its parent.
0
$
("div").children().eq(
0
);