JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<a href="#" class="link">
  <img src="http://placehold.it/100x100" alt="">
</a>

CSS

div {
  background: red;
  display: block;
  height: 90%;
  width: 90%;
}

.n1 {
    background: yellow;
}

.n2 {
    background: green;
}

JavaScript

document.addEventListener(
  'click',
    function( event ) {
      console.log('Pure JS', event);
    return true;
  },
	false
);

$( function() {
	$('body').on( 'click', '.link', function(e) {
  	console.log( 'jQuery', this);
  });
})