el.classList.add( 'two classes' ); el.className += ' two classes'; Careful, these two things are not the same. re: http://youmightnotneedjquery.com/
-
-
@mathias yeah, the examples need a bit more detail. I like the idea, though. -
- 2 more replies
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.