JSFiddle - React, Tailwind, and code Playground
HTML
<br/><br/>
<div class='amazingmenu' id='menupull'>
<img src='images/down.png' width=20 height=20 align='right'/>
<div id='menupullhideme'>click the arrow to read the rest!<br /></div>
more jokes on <a href='#'>amazingjokes.com</a>
</div>
JavaScript
$('#menupull>*:not(a)').click(function(event) {
alert('pullmenu clicked');
});