FAQ accordion html/css/js solution

Solution retrospective
- For first time ever using js in practice.
- Next time, hopefully, I'll try to make better decisions and make things faster.
-
Made text smaller than browser allowed me to with font-size via
transform: scale()
. This has been a problem for most of my challenges, but I haven't done anything to solve it, but here I am. -
Some struggle with js took place, but I overcame just by thinking more time than I should have for the solution.
Animation from display: block;
to display:none;
that would work in every browser. (My works neither.)
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on hyperavtr'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