Submitted
FAQ-Accordion
- HTML
- CSS
- JS
What are you most proud of, and what would you do differently next time?
I'm most proud of recognizing that i was writing too much javascript code when I first started and thinking of ways to cut out or simplify unnecessary code.
What challenges did you encounter, and how did you overcome them?
I had trouble figuring out how to open and collapse the accordion. My first attempt was to have a function that would append and remove a element on button click but could not get it to work like I thought it would. Eventually I did some reading on MDN and figured I could make a function that would just change the display property of the text.
What specific areas of your project would you like help with?
I don't have anything in particular I want feedback on but any advice or criticism will be appreciated.