JSFiddle - React, Tailwind, and code Playground
by Praveen Kumar Purushothaman
HTML
<div>
<input type="button" onclick="this.parentNode.innerHTML+='<span>DOM Element Added!</span>'" value="Print" />
</div>
CSS
* {font-family: Segoe UI;}
span {border-radius: 3px; background: #f90; line-height: 1.2; display: block; font-size: 0.8em; margin: 5px 0 0; padding: 5px;}