What do people think of sometimes annotating <div> elements with "data-name" attributes to mention what they for?
-
-
What about classes for selecting? data-name is fine of course, but most often the others also fine I think. -
hah yeah so I'm using classes for styling; if I start using it for other stuff too things can get hairy :/
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.