https://tutorial.eyehunts.com/js/javascript-nextsibling-dom-property/
JavaScript nextSibling | DOM Property