---
title: "Discussion on \"HTML Accordion\" | Hashnode"
description: "Discussion on \"HTML Accordion\". When you think about creating an accordion the obvious solution is to use JavaScript - you listen for clicks and toggle the section open/closed. Simple. But what if you don't want to use JavaScript?\nThe other obvious alternative is to make each secti..."
url: "https://hashnode.com/posts/html-accordion/5fddc2601485f22e24b34752"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [HTML Accordion](https://blog.nicm42.me.uk/html-accordion?utm_source=hashnode&utm_medium=feed)

When you think about creating an accordion the obvious solution is to use JavaScript - you listen for clicks and toggle the section open/closed. Simple. But what if you don't want to use JavaScript? The other obvious alternative is to make each secti...

Dec 19, 2020 · 2 min read · blog.nicm42.me.uk  
Read the article

-   [#html](https://hashnode.com/tag/html)

## Written by

[Nic](https://hashnode.com/@nicm42)

@nicm42 · England

  
[View profile](https://hashnode.com/@nicm42)

This week I learnt...

Front End Developer. I like problem solving and making things pretty. I also like red.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
