JSFiddle - React, Tailwind, and code Playground

HTML

<div>
    <span>Some content</span>
</div>

JavaScript

$(function() {
	$("span").after("<script>console.log('jQuery')</"+"script>");
    document.querySelector("span").insertAdjacentHTML('afterEnd', "<script>console.log('Native')</"+"script>");
});