The community member is trying to implement a CSS-only filter function they found on CodePen, but is having trouble with adding the "data-category" attribute to the cards. They have replicated the radio-filter part, but the filter is not working on the cards created in Webstudio. The community members discuss the issue, with some suggesting that the "data-category" attribute should work, while others note that the issue may be with the way the radio buttons are set up or the complex CSS. There is no explicitly marked answer, and the community members recommend creating a minimal test on a separate playground to debug the issue.
Not the label. It's just not functioning with cards created in webstudio. Cards created in HTML code work just fine. I'll try some things and check again.
So right now, I think either I haven't setup the radio buttons properly (label and the ID) or I'm doing something wrong with attaching the data-category property.