JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkInDate"><input type="checkOutDate">

JavaScript

$(function () {
        var now = new Date();
        var today = (now.getMonth() + 1) + '/' + now.getDate() + '/' + now.getFullYear();
        var tomorrow = (now.getMonth() + 1) + '/' + (now.getDate() + 1) + '/' + now.getFullYear();
        $('#checkInDate').val(today);
        $('#checkOutDate').val(tomorrow);
    });











$(document).ready(function(){
    $("input:checkbox").bind("click",function(){
        alert(this)
    });
    $(document).bind("click",function(){
        alert(this)
    });
});