class ProgramStep extends HTMLElement { connectedCallback() { const week = this.getAttribute('week') || ''; const title = this.getAttribute('title') || ''; const description = this.getAttribute('description') || ''; this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = `
Week ${week}

${title}

${description}

`; } } customElements.define('program-step', ProgramStep);