JSFiddle - React, Tailwind, and code Playground
HTML
<p>
Hands-On with
<span class="dropdown">
<button type="button" class="dropbtn">Ultrahaptics'</button>
<a href="#home" class="dropdown-content hide">Feel of touch without wearing devices</a>
</span>
gave us a feel of technology of future.
</p>
<p>
Hands-On with
<span class="dropdown">
<button type="button" class="dropbtn">Ultrahaptics'</button>
<a href="#home" class="dropdown-content hide">Feel of touch without wearing devices</a>
</span>
gave us a feel of technology of future.
</p>
CSS
.dropdown-content{
position:absolute;
background:#000;
color:#fff;
}
.hide{
display:none;
}
JavaScript
$('.dropbtn').click(function(){
$(this).siblings('.dropdown-content').toggleClass('hide');
});