JSFiddle - React, Tailwind, and code Playground

by Leonam, Carlos

HTML

<input type="text" class="first" placeholder="type here">
    <input type="text" class="second" placeholder="here it is the reuslt">

JavaScript

$(".first").on('keydown keyup',function(){
    $(".second").val($(this).val());
});