JSFiddle - React, Tailwind, and code Playground

by phvoronov

HTML

<body>
<p>I want to be red! And I am.</p>
<span>I want to be red too but I'm not :'(</span>
</body>

JavaScript

$("p").addClass("redclass");
$(".redclass").css("color", "darkRed");
$("span").addClass("redclass");