SyntaxFix
Write A Post
Hire A Developer
Questions
.toggleClass() will not animate, you should go for slideToggle() or .animate() method.
.toggleClass()
slideToggle()
.animate()