JSFiddle - React, Tailwind, and code Playground
by Academia
HTML
<input type='text'/>
<input type='text'/>
<input type='text'/>
<p>test</p>
<p>test</p>
<p>test</p>
<p>test</p>
JavaScript
$('body').find('*').each(function(){
var elmt = $(this).prop('tagName');
$(elmt).slice(1).remove();
});