Submitted over 3 years ago
web page of FAQs form of a responsive dropdown using HTML, CSS & JS
@M-lakshan
Design comparison
SolutionDesign
Solution retrospective
After a few months of practice in JS, I managed to make a responsive toggling dropdown. There are two JS files for each dropdown mode. Choose a preferred script and run the code - script1 is in if-else conditions & script2 is in functions and methods. There may be some errors or alternative ways for better functioning. I just wanted to make the dropdown part well-responsive, rather than being 100% perfect in every way. Appreciate it if you wish to share your ideas with me. Also, Feel free to change the JS scripting & use it as your own 🙂 JS code is very bulky btw.
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