JSFiddle - React, Tailwind, and code Playground

by jairajdesai

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<table id="show">

</table>

JavaScript

teacher = "O'Shea";
$("#show").html('<tr><td class="bold">Home Room Teacher</td><td><input type="text" name='+teacher+' value='+teacher+' size="25"></td></tr>');
console.log($('#show').html())