.replaceAll()
Replace each target element with the set of matched elements.
These methods are used to remove content from the DOM and replace it with new content.
Replace each target element with the set of matched elements.
Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.