JSFiddle - React, Tailwind, and code Playground

HTML

<div>
     <h4>Sometext</h4>

    <p>Another text</p>
</div>

CSS

p {
    display:none;
}

JavaScript

$('div h4').live('click', function () {
        $(this).siblings('p').toggle('slide');
    });