Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lancefisher
· 11y ago · 0 comments
So are people dropping the data- prefix in custom attributes now? e.g. input[frequency]
Comments
[–]
namanyayg
11y ago
Doesn'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 ago
Probably because there were fewer characters to type and it's slightly easier to read.
[–]
retroencabulato
11y ago
Let's talk about the content of this demo, not the implementation.
[–]
benihana
11y ago
No, let's talk about both. There's a reason this was posted to codepen with code that isn't obfuscated.