JSFiddle - React, Tailwind, and code Playground

by jimkennelly

HTML

<script src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
<table id="t1">
<tr>
  <td>this is a test1</td>
  <td>this is a test2</td>
  <td>this is a test3</td>
</tr>
<tr>
  <td>this is a test1</td>
  <td>this is a test2</td>
  <td>this is a test3</td>
</tr>
</table>
<button id="aa">button</button>
<hr>
<table id="t2">
<tr>
  <td>this is a test1</td>
  <td>this is a test2</td>
  <td>this is a test3</td>
</tr>
<tr>
  <td>this is a test1</td>
  <td>this is a test2</td>
  <td>this is a test3</td>
</tr>
</table>

JavaScript

$(document).ready(function(){

$("tr").css("color","red").css("background-color","green")

$("#aa").click(function() {
alert("test");
};

});