JSFiddle - React, Tailwind, and code Playground JavaScript $("button").click(function () { $("div").slideToggle("slow"); });