JSFiddle - React, Tailwind, and code Playground

by Josué López

HTML

<input type="text" class="form-control bandName" id="addBandName" name="bandName" placeholder="Band Name">
    <p class="contact-name"></p>

JavaScript

$( "#addBandName" ).change(function() {
         $('.contact-name').text('hello');
        //$(".contact-name").empty();
       //get_contact_list();
    });