Edible Plants

Animals

Find all <li> elements inside of <ul> elements.

Find all siblings of the <li> element with id tmpCarrot.

Select the <li> sibling element after the <li> element with id name tmpBroccoli.

Select the <li> sibling element before the <li> element with id name tmpBroccoli.

Select all <li> sibling elements after the <li> element with id name tmpBroccoli.

Select all <li> sibling elements before the <li> element with id name tmpOrange.

Select only <li> sibling elements before the <li> element with id name tmpOrange that are vegetables.

Find the parent <div> element, with id tmpSelection.

Find parent <ul> elements of <li> elements.

Find children <h4> elements of parent <div> elements with class name tmpList.

Select children <li> elements of parent <ul> elements, except for vegetables.

Select <li> elements beginning with Cow and ending with Sheep.

Select all animal <li> elements, then add Pepper and Broccoli.

Select all <li> elements, and reduce to only Buffalo.