Amir Jacobs• 165
@Amir-Jacobs
Posted
Hi Guliye
I noticed a few things about your Javascript:
- I'd use functions to make clear what is happening. You could make a function called
resetAccordion()
and a function calledshowAccordion()
. - I'd make a bit more use of comments.
- The accordion can only be opened by clicking the icon, but it'd be more user-friendly to have it open upon clicking
.question
.
Have a nice day. ✌
2