JSFiddle - React, Tailwind, and code Playground

by samizdam

JavaScript

$(function(){
    $('table tr td').mouseover(function(){
        $(this).parents('tr').css('color', 'green');
        
    });
    $('table tr td').mouseout(function(){
        $(this).parents('tr').css('color', 'black');
    });    
});