> In the DOM tree you can transverse in different ways.
> For this part we are considering siblings which are elements that share the same parent. The methods of consideration under this are;
• siblings() • prev() • prevAll() • prevUntil() • next() • nextAll() • nextUntil()
> This method returns all the sibling elements of the selected element.
For example let’s find how many elements are related as siblings of <li> tags in the example below;