class CustomTerminal extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = `
bash
$ Welcome to my portfolio
$ Type help to see available commands
$ _
`; } } customElements.define('custom-terminal', CustomTerminal);