Good article on using `...` in javascript
Good article on using `...` in javascript
I’ve found myself wanting to check if a webpage supports webmentions while internetting, so I made a bookmarklet for it.
You can switch things around. Instead of adding lots of event handlers to lots of elements, you can add one event handler to the root element. Then figure out whether the element that just got clicked is special or not.
This is a good short article on JS event handling.