You don’t need the isOpen class

from blog HTMHell, | ↗ original
by Maureen HollandDon’t get me wrong. You can keep it if you like it. But you don’t need it. A class selector can allow us to visually show or hide content for disclosure widgets, like a custom select component or dropdown navigation menu. But a disclosure widget is made of two parts: A button that controls show/hide behaviour Related content...