Submitted 11 months ago
FAQ accordion component with HTML, CSS and JavaScript.
@harpreet-singh-147
Design comparison
SolutionDesign
Solution retrospective
Hello. Here's my attempt at making the accordion with HTML, CSS, and JavaScript. If anyone can give feedback, please do. I am not sure how the 'position: fixed' is working when used on the accordion class. When it's not there, the accordion stretches to the bottom, and I don't know why. Nevertheless, I enjoyed attempting this, and I will be submitting more challenges in the coming days and weeks. If you are finding things difficult, remember - DON'T GIVE UP! Have fun.
Community feedback
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