JSFiddle - React, Tailwind, and code Playground

by ChrisStanyon

HTML

<div class="each_rec">
    <a href="#" class="mailLink">Demo User&nbsp;&nbsp;DEMO</a>
</div>
                                  
<div class="mailShow"></div>

CSS

.mailShow { display:none; }

JavaScript

$(".each_rec").on("click", "a", function(e){
    e.preventDefault();
    $('.mailShow').fadeIn(1500).html('This is the mailShow div');
});