---
title: "Rikard (@rix1) | Hashnode"
description: "Product. Read the latest articles by Rikard on Hashnode."
url: "https://hashnode.com/@rix1"
---

@rix1

# Rikard

@rix1 · Joined August 2020

Product

## Comments

[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/](https://hashnode.com/posts/how-to-build-accordion-in-react-from-scratch-without-using-any-external-library/60518c2f416f221f065b772b/comment/605d14f3965326422a3efd3c)

Comment · Article · Mar 25, 2021 · [How to Build Accordion In React From Scratch Without Using Any External Library](https://hashnode.com/posts/how-to-build-accordion-in-react-from-scratch-without-using-any-external-library/60518c2f416f221f065b772b)
