https://tutorial.eyehunts.com/js/javascript-previous-sibling/
JavaScript previous sibling