JSFiddle - React, Tailwind, and code Playground

by Andreu

HTML

<html>
  <head>
  </head>
  
  <body>
 
 
 <p class="ClicAndEvent">
 Click on me, my God!!
 </p>

<input type='text'>
 
 
  </body>
  
  
</html>

JavaScript

$('.ClicAndEvent').bind('click',function(){

	alert('One or more of your selected ticket numbers are no longer available.');
  location.reload();

})