JSFiddle - React, Tailwind, and code Playground
by ivawzh
HTML
Command here
<input id="command"></input>
<br/>
<a href="#" id="button">Submit</a>
<p id="result"></p>
JavaScript
output = $("#result");
$("#button").click(function () {
var input = $("#command").val();
output.hide("slow");
console.log(input);
output.text(input).show("fast");
});