class GameNav extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` Wiggly Worms Home Scores Settings `; } } customElements.define('game-nav', GameNav);