R
Nice! Just a quick reminder using native HTML elements is the easiest way to create an accessible accordion – no JS required! <details> <summary>Section 1</summary> Hello this is my section. </details> Example of the above code (edit: Hashnode doesn't seem to use the same renderer for "preview" and after posting, so I had to take a screenshot of it) See this for more details: https://css-tricks.com/quick-reminder-that-details-summary-is-the-easiest-way-ever-to-make-an-accordion/
CommentArticleMar 25, 2021How to Build Accordion In React From Scratch Without Using Any External Library
