JSFiddle - React, Tailwind, and code Playground

by Mikhail

HTML

Parent: <input type="text" name="parent" alt="2171" id="p123"><br/>
Child: <input type="text" name="child" id="ch123">

CSS

input {padding:5px;}
body {font-family:Arial;}

JavaScript

//simple change
$('#p123').on('keyup', function(){
    $('#ch123').val($(this).val());
})