jQuery to vanilla JS > Replacement > Flashcards
replaceWith
target.replaceWith(element);
parent.replaceChild(newChild, oldChild);