There is a library for JS that toggles the selection between the links?

In General, you need something like this:

Filter:

group 1 - 1-komnatnaya, 2 bedroom, 3 bedroom
group 2: brick, panel
group 3 - a 5-storey, 9-storey, 9 more floors

* bold marked links where clicked

It's kind of a replacement for the checkboxes. That is, we click on the link, the link becomes active. If we click on the link - it also becomes active. Click on the link it changes your class, ceases to be a link and appears next to the cross icon to cancel. About this functionality is implemented when multiple tagging (like on this site, for example). But I don't need it to be inside the input's and and need to it was just links in a row.

There are libraries and what's the name I described above?..
July 2nd 19 at 17:09
1 answer
July 2nd 19 at 17:11
Solution
Maybe so?
Thank you! - Makayla.Bradtke commented on July 2nd 19 at 17:14

Find more questions by tags jQueryJavaScript