Hi guys. The problem I am currently facing is shown in this fiddle https://jsfiddle.net/ayydv3jy/11/
What I want to do is to add pin–active class to the clicked element and delete it from all the other elements.
I’m struggling with adding a classList.remove function. Do not know how to choose the elements with pin–active class.
I do not require a full solution, just some hints or articles with similar problem. Have been researching for few days now but apparently I suck at googling.