4 ms·
So are people dropping the data- prefix in custom attributes now? e.g. input[frequency]
by lancefisher 11y ago
So are people dropping the data- prefix in custom attributes now? e.g. input[frequency]
- namanyayg 11y agoDoesn't seem to serve any purpose too. Simply could've used a class there. Would be interesting to know why the author did so.
- marrs 11y agoProbably because there were fewer characters to type and it's slightly easier to read.
- retroencabulato 11y agoLet's talk about the content of this demo, not the implementation.
- benihana 11y agoNo, let's talk about both. There's a reason this was posted to codepen with code that isn't obfuscated.