Try this jquery question

Which is the correct jQuery selector to select the first list item of every

    element?

    A.$(“ul li:first-child”)
    B.$(“ul li:first.*”)
    C.$(“li:first-child”)
    D.$(“ul:first-child”)4 hours!

2 Likes

The correct ans is A

1 Like

the correct answer is a.

1 Like

$(“ul li:first-child”)

1 Like