JSFiddle - React, Tailwind, and code Playground

by learner001

HTML

<div id="start"><button class="btn btn-danger" >Start</button></div>
<div id="submit"><button class="btn btn-danger" >Submit</button></div>
<div id="stop"><button class="btn btn-danger" >Stop</button></div>

JavaScript

$(document).ready(function(){
$("#submit").hide();
$("#stop").hide();
    $("#start").click(function(){
        $("#submit").show();
        $("#stop").show();
        $("#start").hide();
    });
    
     $("#stop").click(function(){
        $("#submit").hide();
        $("#stop").hide();
        $("#start").show();
    });
    
});