JSFiddle - React, Tailwind, and code Playground

HTML

<img id="greet" src="http://www.clker.com/cliparts/K/9/M/I/M/8/on-button-small-th.png" alt="alt"/>
<p id='here'>You clicked that picture above!</p>

JavaScript

$("#greet").click(
    function () { 
        $('#here').toggle();
    }
);

$("#here").hide();