JSFiddle - React, Tailwind, and code Playground

HTML

<input type="number" min="0" max="100" step="5" id="test" />

JavaScript

$( '#test' ).click(function(){
   $( this ).after( '<br />click' ); 
});

$( '#test' ).change(function(){
   $( this ).after( '<br />change' ); 
});

$( '#test' ).keypress(function(){
   $( this ).after( '<br />keypress' ); 
});