JSFiddle - React, Tailwind, and code Playground

by Chase Wilson

HTML

<label for="something">Hello</label>
        <label for="something-else">There</label>

JavaScript

$$('label[for=something]').addEvent('click',function(){
alert('Hi there.');
})