JSFiddle - React, Tailwind, and code Playground

by jrobinsonc

HTML

Nombre (*) <input type="text" name="ss" id="nombre" />

JavaScript

$(document).ready(function(){
    $("#nombre").on('keyup', function(){
        if($(this).val().length > 3) {
          alert("Es mayor que 3!!");
        }
    });
    
        
});