How to remove the block?

Welcome.
https://jsfiddle.net/yv5zaj2s/

The problem:
When you click on "LINK" reveals hidden information by adding the class "is-active" and slideUp functions.
Clicking on any area of the screen removes class "is-active" and closed the hidden content.
But, if you click on "LINK" to another element, it triggers the slideUp function, but the class "is-active" is not deleted.
Please help to solve this problem.
March 23rd 20 at 18:55
1 answer
March 23rd 20 at 18:57
Solution
Put $('.proj__card').removeClass('is-active'); before adding the class "is-active" classes to clear all items before adding.
Thank you, helped - Alta_Kuhn commented on March 23rd 20 at 19:00

Find more questions by tags HTMLJavaScriptCSS