javascript - Uncaught HierarchyRequestError: Failed to execute 'insertBefore' on 'Node': The new child element contains the parent - Stack Overflow
JavaScript insertBefore - javatpoint
Inserting New Element Before or After Existing Element using Pure JavaScript Tutorial | SourceCodester
javascript - Meteor and jQuery ConnectedSortable Lists: "Failed to execute ' insertBefore' on 'Node'" - Stack Overflow
Modifying the document
javascript - DOMException occurred in Vue: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this - Stack Overflow
jQuery insertBefore() method - javatpoint
Javascript Insert Before and After HTML Element or Node with Snippet