Design comparison
SolutionDesign
Solution retrospective
I'd love to hear the method you used to make accordion work in JS. I think I made it fairly simple, but there will sure be better ways. Happy Coding!
Community feedback
- @mmetwally0Posted over 2 years ago
Loved it! Great work!!
0 - @ivaberiashviliPosted over 2 years ago
OK, I realized I needed to open the second answer-box by default. I did that and the page loads just like that. However the screenshot is still not correct. Does any of you have the idea why this might be happening? Is it something to do with timing (for example the screenshot is taken before the active is applied to the answer-box) or is there something else I can do about it? thank you.
0
Please log in to post a comment
Log in with GitHubJoin 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