@Ataize
Posted
Hello everything is fine?
I'm just a beginner, but I think you could optimize your javascript by adding/removing classes in a more concise way, using toggle.
The toggle method toggles the presence of the hidden class in the element every time the button is clicked.
I hope I helped and keep it up.
Marked as helpful
@abhi-zero
Posted
@Ataize Thank you for your feedback, I really appreciate it. I wasn't aware of this method until now, but once I learn more about the toggle method, I'll update my solution.
Once again, thank you, and good luck!