Do I inherit from Element when I extend the HTMLElement interface?

JS borrows the model of classes, interfaces and objects from other languages, but has its own style of doing the things. The Mozilla documentationis calling the HTMLElement an interface. In inherits from Element, which is a class in turn. This would not work in Java. class ContentCardExample extends HTMLElement { I find this example of… Read More Do I inherit from Element when I extend the HTMLElement interface?