This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Danny Engelman 🌷🏍️🛥️
engelman.nl
did:plc:prsjlcqmyr3unqje5g6gzbxw
One issue, your code will only work when the Web Component is defined AFTER all DOM was parsed,
because the connectedCallback fires on the OPENING tag.
Thus when you define your Web Component EARLY (to prevent FOUCs) there is no innerHTML
JSFiddle and link to blogpost:
https://jsfiddle.net/WebComponents/ew8o2n65/
2025-10-22T07:42:19.077Z