Skip to main content Accessibility Feedback

Houdini gets accordion support

Houdini, my simple expand-and-collapse script, now supports accordion groups.

Add a data-group data attribute to every toggle in the accordion, and make sure they all have the same name. Houdini will sort out the rest.

Download Houdini on GitHub


🚀 Make 2018 the year you master JavaScript! My pocket guides and mini courses are short, focused, and made for beginners. You can do this!

Have any questions or comments about this post? Email me at chris@gomakethings.com or contact me on Twitter at @ChrisFerdinandi.

Get Daily Developer Tips