JSFiddle - React, Tailwind, and code Playground

HTML

<form>
<input name='mark' value='' type='text' id='mark' />
</form>

JavaScript

$('#mark').click(
    function() 
    {
        alert('test');    
    }