FAQ Accordion using ReactJS & TailwindCSS

Solution retrospective
🙋♂️ Hello, Everyone,
Here is my solution for the FAQ Accordion.
- Scored
89%
on Google Pagespeed Insights! 🤩 - Built with
ReactJS
| Designed withTailwindCSS
🛠️ | Mobile-First approach 📱 - Implemented
<details>
&<summary>
to create accordion without using JS #️⃣ - Utilized
prettier-plugin-tailwindcss
to auto-sortTailwindCSS
classes 🎨 - Utilized
BEM
principles to create a consistent structure ofTailwindCSS
classes - Minified the
CSS
files to improve site performance 🚀
Do you have any insights to share❔
I'll be happy to hear them. 🤓
Code Together | Learn Together | Grow Together
Please log in to post a comment
Log in with GitHubCommunity feedback
- @takinabradley
Looks good!
I might challenge you to extract this into a separate component, and to feed it question/answer data to render in React!
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord