The hidden attribute removes the need to define display: none
We don't need to define display: none by hand when creating the elements that can be shown or hidden. Just add the hidden attribute to the element and define all CSS with :not([hidden])💡
❤ Thank you so much, my sponsors: Ben Rinehart, Tatiana Ten, Catherine Starobor-Strakhova, Vlad Bazhanov