JSFiddle - React, Tailwind, and code Playground

by mynameisdonald

HTML

<html>
  <head></head>
    <table>
      <tr>
        <td>comments:</td>
        <td>Good</td>
        </tr>
     </table>
  </html>

JavaScript

$("td").each(function(){

    $("td").html($("td").html().replace(/Good/, 'Bad'));
    
});