Did you know that you can not only create an accordion without writing any CSS or JavaScript but it also works in all modern web browsers? Using the details and summary elements, it is pretty easy, too.
See the Pen
Pure HTML Accordion by Joe Steinbring (@steinbring)
on CodePen.
[ Cover photo by Charlie Solorzano on Unsplash ]