Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

FAQ Accordion challenge

LoopyOratory•100
@LoopyOratory
A solution to the FAQ accordion challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

in this challenge i learnt how to use the closest method in javascript which made it easy to me to set the plus and minus buttons

And i've also been struggling to uderstand the foreach function but i think i have a better understanding now.

What challenges did you encounter, and how did you overcome them?

i had challenge when trying to write the function that will togle the class to display the paragraph and also change the plus and minus button

What specific areas of your project would you like help with?

how to write better function and if theres a simpler way of performing same task

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on LoopyOratory'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License