JSFiddle - React, Tailwind, and code Playground
by Addy Osmani
HTML
<div id="div-a">test1</div>
<div id="div-b">test2</div>
CSS
#div-a{ width:100px height:100px; background-color:red}
#div-b{ width:100px height:100px; background-color:blue}
JavaScript
$('#div-a, #div-b').click(function() {
alert('foo');
});