- Given This Html Ul Li Id One Apples Li Li Id Two Pears Li Li Id Three Class Special Bananas Li Li I 1 (46.31 KiB) Viewed 29 times
Given this HTML: - Apples
- Pears
- Bananas
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Given this HTML: - Apples
- Pears
- Bananas
-
Given this HTML: <ul> <li id="one">Apples</li> <li id="two">Pears</li> <li id="three" class="special">Bananas</li> <li id="four">Oranges</li> </ul> and this javascript acting on this HTML: myEl document.querySelector ("ul"); What property of myEl would you use to access the first list item (<li>)? O this getFirstChild() O myEl.nodes[0] O myEl.getChildren()[0] O myEl.firstElementChild