JSFiddle - React, Tailwind, and code Playground
by kasperfish
HTML
<div id="console_log"></div>
<div>div</div>
<span>span</span>
<p>p</p>
<pre>pre</pre>
JavaScript
$('body').on('mouseover','*' ,function(){
vl=$(this).prop("tagName");
$('#console_log').html('<p>'+vl+'</p>');
})