After selection, show only selection

Hi,

I’m making an importance selection system and I’m trying to figure out something.
I have 6 icons and I want to select an icon and at that same moment the non selected icons should be removed and only show the selected icon.

I have a pen with the simple basic setup, but without anything that can make the changes because I have no idea how to approach this.

https://codepen.io/anon/pen/LoKgaZ

Any help or reference would be helpful