Submitted over 2 years agoA solution to the FAQ accordion card challenge
Responsive accordion using Tailwind and React
react, tailwind-css
@tcmak217

Solution retrospective
Questions
- I use absolute to position the images. The images move away from the expected position when I resize the window. Is there any better way to position the image?
- When I click on the accordion item, the accordion component expands both upward and downward. Is there any way to make it just expands downward?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on tcmak217'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