JSFiddle - React, Tailwind, and code Playground

by Kyle Vassella

HTML

<input id="testCheck" type="checkbox" value="KyleSux" checked="checked" /> Kyle is Great!

<button id="go">
Check Value
</button>


<div style="margin-top: 20px" id="output">
    Value Displayed Here
</div>

JavaScript

$(document).ready(function() {
     $('#go').click(function() {
         $('#output').text($('#testCheck').val());
     })
})