JSFiddle - React, Tailwind, and code Playground
by jefffabiny
HTML
<p class="test">This is a test.</p>
CSS
html, body {
width:100%;
height:100%;
margin:0;
padding:0;
background:#000;
color:#fff;
}
JavaScript
$('.test').on("click", function(){
$(this).css('color', 'blue');
});