JSFiddle - React, Tailwind, and code Playground

by Ronny

HTML

<div class="w">hi</div>
<div class="f">hmm</div>
<div>bye</div>

JavaScript

$$('div.w').setStyle('color', 'red');
$$('div.f').setStyle('color', 'green');
$$('div:not(.w):not(.f)').setStyle('color', 'yellow');