JSFiddle - React, Tailwind, and code Playground

by prabhu5013

HTML

<button class="joinbutton">class</button>
<div id="dialog">
<a href="#">Join as member type A</a>
    <br>
<a href="#"> Join as member type b</a>
</div>

CSS

a{
    background-color:green;
}

JavaScript

$('#dialog').hide();
$("button.joinbutton").on("click",function()
               {  
                  $("#dialog" ).dialog();
                   
               });