JSFiddle - React, Tailwind, and code Playground

HTML

<table>
<tr>
    <td class="first">First</td>
    <td class="second">Second</td>
    <td class="third">Third</td>    
</tr>
</table>

CSS

tr { background-color: #d8d8d8; }

JavaScript

$("tr").click(function() {
$("tr").children(".first").effect("highlight", { color: "#E8E8E8" }, 1000);
$("tr").children(".second").effect("highlight", { color: "#E8E8E8" }, 1000);
$("tr").children(".third").effect("highlight", { color: "#E8E8E8" }, 1000);
});