JSFiddle - React, Tailwind, and code Playground

by littlesandra88

HTML

<!DOCTYPE html>
<html dir="ltr">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <script src="http://code.jquery.com/jquery-1.6.min.js"></script>
    <script src="http://jqueryui.com/ui/jquery.ui.core.js"></script>
    <script src="http://jqueryui.com/ui/jquery.ui.widget.js"></script>
    <script src="http://jqueryui.com/ui/jquery.ui.datepicker.js"></script>

    <script>
      $(function() {
         var dates = $("#from, #to, .datepick").datepicker({         
            defaultDate: "+1w",
            changeMonth: true,
            numberOfMonths: 1,
            dateFormat: 'dd/mm-yy',
               onSelect: function(selectedDate) {
                  var option = this.id == "from" ? "minDate" : "maxDate",
                  instance   = $(this).data("datepicker"),
                  date       = $.datepicker.parseDate(
                                  instance.settings.dateFormat || $.datepicker._defaults.dateFormat, selectedDate, instance.settings);
                  dates.not(this).datepicker("option", option, date);
               }    
          }); 
      }); 
    </script>

    <link rel="stylesheet" type="text/css" href="stylesheet.css" media="all">

  </head>
  <body>

    <div class="page-body">

      <div class="create-new">

    <div id="create_result" style="display:none;">
    </div>
    <form id="create_form" name="create_form" action="" method="post">
      <input name="anchor" id="anchor" value="create" type="hidden">

      <label class="new" for="title">Title:</label>
      <input class="new" type="text" name="title" id="title" />
      
      <label class="new" for="owner">Owner:</label>
      <input class="new" type="text" name="owner" id="owner" /><br class="new"/>

        <label class="new" for="begin_date">Begin Date:</label>
      <input class="new" type="text" id="from" name="from"/>

      <label class="new" for="end_date">End Date:</label>
      <input class="new" type="text" id="to"...