From 44cf2661f05995908931bc8b996e28e2f4674928 Mon Sep 17 00:00:00 2001 From: Ayo Date: Thu, 19 Oct 2023 16:29:13 +0200 Subject: [PATCH] remove code-block usage --- src/pages/index.html | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/pages/index.html b/src/pages/index.html index af6a0fb..d0e6a0b 100644 --- a/src/pages/index.html +++ b/src/pages/index.html @@ -12,26 +12,6 @@ Here's a sample interactive custom element:

- -
-class HelloWorld extends HTMLElement {
-  static observedAttributes = ["name"];
-
-  connectedCallback() {
-    let count = 0;
-    this.onclick = () => {
-      this.setAttribute("name", `Clicked ${++count}x`);
-    };
-    this.setAttribute("title", "Click me please");
-  }
-
-  attributeChangedCallback(property, previousValue, currentValue) {
-    if (previousValue !== currentValue) {
-      this.innerHTML = ``;
-    }
-  }
-}
-

Start at the very basic of writing HTML files and enhance with standard web technologies or go advanced as you like, at your own pace.