Responsive Faq Accordion using TailwindCSS

Solution retrospective
Animations when clicking on the button for each faq to collapse the paragraph, which smoothly drops down.
Also clicking on the expand and contract buttons, where their icons are a plus and minus correspondingly.
What challenges did you encounter, and how did you overcome them?How to implement Animations with TailWindCSS. I never thought of using a grid for the paragraph. Learned that the hard way.
Since I was new to TailwindCSS, I used the documentation as a reference. Honestly, it was extremely helpful. I learned Tailwind much faster this way.
What specific areas of your project would you like help with?Well, I would like advice on the index.html. It has become.. a class soup? It is very messy, and I do not like looking it.
Any ideas on how to make styling cleaner with TailwindCSS? Any tips I could do instead? I am very used to using regular CSS. This is my first time using a CSS Framework. A utility based one at that.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on DangoDono's solution.
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