---
title: "Discussion on \"Creating accordions with native HTML\" | Hashnode"
description: "Discussion on \"Creating accordions with native HTML\". Accordions are one of the most commonly used UI components for any website. For example FAQs section of the website, where only the question is shown, and when clicked the answer just opens up.\nGenerally, we handle this by creating 2 divs and adding ..."
url: "https://hashnode.com/posts/creating-accordions-with-native-html/5fd4d3dc95130967e0992d42"
---

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

Discussion

# [Creating accordions with native HTML](https://championshuttler.in/creating-accordions-with-native-html?utm_source=hashnode&utm_medium=feed)

Accordions are one of the most commonly used UI components for any website. For example FAQs section of the website, where only the question is shown, and when clicked the answer just opens up. Generally, we handle this by creating 2 divs and adding ...

Dec 12, 2020 · 2 min read · championshuttler.in  
Read the article

-   [#html5](https://hashnode.com/tag/html5)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Shivam Singhal](https://hashnode.com/@championshuttler)

@championshuttler · India

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

Pushing Bugs to Production

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
