Closing and Opening answers using js

Solution retrospective
I was able to efficiently use my js code to open and close the faq.
What challenges did you encounter, and how did you overcome them?At first I had a click functionality for every questions but at last I was able to make a common functionality for every questions on the faq.
What specific areas of your project would you like help with?I had trouble with the position of the main content going up and down when I open the answers which push it up and down, which makes it not accurate to the design I was given.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Musie Misgun'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