JSFiddle - React, Tailwind, and code Playground

by Sub Taper

HTML

<head>
  <title>Continously Compounding Interst Plot</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">

  <link href="https://fonts.googleapis.com/css?family=Montserrat:bold, semi-bold|Roboto" rel="stylesheet">

  <style>
    body {}

    h1,
    h2,
    p {
      font-family: 'Montserrat', sans-serif;
      font-size: 9pt;
      text-align: left;
      color: black;
            padding-top: 4px;
            width: 100%;

    }

    .form-control {
      margin-bottom: 20px;


      font-family: 'Montserrat', sans-serif;
      text-align: center;
            margin: auto;
            width: 100%;

      color: black;

    }

  </style>

  <script language="text/javaScript">
    $(window).resize(function() {
      drawChart();
      drawChart2();
    });

  </script>

</head>


<body>
  <div>

    <div class="line" style="padding-top:10px; padding-bottom:10px;">
      <div class="container">
      
        <hr>
      </div>
    </div>
    <div class="row">
      <div class="col-xs-12 col-md-8" style=" padding-bottom:40px;">
        <div id="compounding_chart" class="chart" height="480px"></div>
      </div>
      <div class="col-xs-12 col-md-4">

        <div class="calculator" style="">
          <div class="container">
            <form>
              <!--
HALFLIFE-->

              <!--     <div class="form-group row">
                <label for="halfLifeInput" class="col-xs-12 col-md-12">
                  <p>Half-Life Value (hours)</p>
                </label>
              </div>
-->
              <div class="form-group row">
                <div class="col-md-8 col-xs-8">
                  <label for="halfLifeInput" >
                    <p>Half-Life Value (hours)</p>
   ...