class CustomHeader extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` Soil pH Pro Partie 1 Partie 2 Partie 3 `; } } customElements.define('custom-header', CustomHeader);