diff --git a/README.md b/README.md
index 6240dcb..89fa10b 100644
--- a/README.md
+++ b/README.md
@@ -18,9 +18,9 @@
We want a way to:
1. create web apps with vanilla custom elements
1. write real .HTML files
-1. no frameworks or reactivity libraries on the browser
-1. server-side pre-rendering
-1. control on when and where JS is downloaded for interactive elements
+1. have no frameworks or reactivity libraries on the browser
+1. use server-side rendering
+1. control when and where JS is downloaded for interactive elements
## Special directories
**1. `src/pages`**
diff --git a/src/components/awesome-header.html b/src/components/awesome-header.html
index dbbb2f2..5b69e62 100644
--- a/src/components/awesome-header.html
+++ b/src/components/awesome-header.html
@@ -7,39 +7,12 @@
diff --git a/src/components/my-head.html b/src/components/my-head.html
index 3252e36..b02d8d1 100644
--- a/src/components/my-head.html
+++ b/src/components/my-head.html
@@ -23,5 +23,28 @@
property="og:description"
content="McFly is a full-stack no-framework framework that assists developers in leveraging the web platform."
/>
+
diff --git a/src/components/vanilla-hello-world.js b/src/components/vanilla-hello-world.js
index 8501468..d0e0e23 100644
--- a/src/components/vanilla-hello-world.js
+++ b/src/components/vanilla-hello-world.js
@@ -8,17 +8,11 @@ class HelloWorld extends HTMLElement {
this.onclick = () => {
this.setAttribute("name", `Clicked ${++count}x`);
};
- this.setAttribute("title", "Click me please");
}
attributeChangedCallback(property, previousValue, currentValue) {
if (previousValue !== currentValue) {
- this[property] = currentValue;
- this.render();
+ this.innerHTML = ``;
}
}
-
- render() {
- this.innerHTML = ``;
- }
}
diff --git a/src/pages/index.html b/src/pages/index.html
index 1c3b99e..6da88bc 100644
--- a/src/pages/index.html
+++ b/src/pages/index.html
@@ -1,33 +1,117 @@
-
+
+
+
+
+
-
- McFly is a full-stack no-framework framework that
- assists developers in leveraging the web platform.
-
-
- Here's a sample interactive custom element:
-
-
-
- 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.
-