In this example, we use the DOM method getElementsByClassName() to return all next sibling elements between the li element with class name "start" and the li element with class name "stop".