Mastodon Feed: Post

Mastodon Feed

Reblogged by kornel ("Kornel"):

anatudor ("Ana Tudor 🐯") wrote:

❌ DON'T
use `div`, `span`, other random elems for range `input` value displays/ rulers

✅ DO
✨use `output` for value displays & set their `for` attr to `id` of the `input` whose value they display
✨use `datalist` for ruler & set its `id` as the value for `input`'s `list` attr

#html #code #coding #tinyCodingTip #frontend #web #dev #webDev #webDevelopment

Attachments: