I’m adding and removing with jQuery a bunch of classes on click events to trigger my CSS animations. It kind of works, but only one time. Once I clicked on a list item to add a class ‘active’, I can’t do that a second time when I click on that same item.
I have pen with the issue, so If you click on UI Design for example, you see some content fade in, By clicking the X the content fades out and the list items fades back in. But clicking on UI Design it doesn’t add the ‘active’ class anymore to trigger the content fade in animation. I can’t figure out why it only does it one time.
Thanks in advance!