JSFiddle - React, Tailwind, and code Playground
HTML
<p>Some text</p>
<div class="description">Some text here </div>
<p>Another</p>
<button class="hide">Hide</button>
<button class="show">Show</button>
CSS
.description {
color: #b4afaf;
font-size: 10px;
font-weight: normal;
}
JavaScript
$('.hide').click(function() {
$(".description").css('opacity', 0);
});
$('.show').click(function() {
$(".description").css('opacity', 1);
});