Using the new replaceWith() method - JavaScript DOM Tutorial - YouTube

Using the new replaceWith() method - JavaScript DOM Tutorial - YouTube

More to explore

Based on this image's title: “Using the new replaceWith() method - JavaScript DOM Tutorial - YouTube