<potato-meme></potato-meme>
class PotatodComponent extends HTMLElement {
  
  constructor() {
    super();
  }
  
  connectedCallback() {
    this.innerHTML = `<img src="https://josepham.me/wp-content/uploads/2023/06/image-1.png"/>`
  }

}

customElements.define("potato-meme", PotatodComponent)

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.