JSFiddle - React, Tailwind, and code Playground

by tymeJV

HTML

<ul>
    <li>Some thing
        <ul style='display:none;'>
            <li>See more stuff!</li>
            <li>See????</li>
        </ul>
    </li>
</ul>

JavaScript

$("ul > li").click(function() {
    $(this).children("ul").slideToggle();
});