JSFiddle - React, Tailwind, and code Playground
by phloe
HTML
<div id="test">
</div>
<button id="button">
Click
</button>
JavaScript
button.onclick = () => {
test.insertAdjacentHTML('afterbegin', '<p>fooo</p><script>alert("hello")</' + 'script>');
};