Prerequisites
💥 Demo Page
https://jsbin.com/dasovecoji/edit?html,js,output
Explanation
- What is the expected behavior?
When clicking the X button on the tag with more than one class name set, it should remove the tag.
Adding more than one class is desired to reuse already defined styling. (eg. a UI component library's button style)