LNSY

joined 2 years ago
[–] LNSY 2 points 2 years ago

https://gist.github.com/lindseyjohnasterius/96e696d780b74a2d800163760bc6293d

Here is my Gist explaining how I do it, but the javascript.info article is newer and better

11
submitted 2 years ago* (last edited 2 years ago) by LNSY to c/html
 

This is my favorite new feature in HTML. It allows us to define custom HTML elements as classes and talk to them using attributes.