DEV Community

Shakib D shy
Shakib D shy

Posted on

How to Create a data-attribute in Vanilla JS tabs?

Hello Programmer,
I have a little Problem. I created tabs with a vanilla JavaScript. I want to call the tabs through data-attributed. But I do not understand how to do.
Here is the link
Codepen
jsfiddle

Thank You

Top comments (0)