diff --git a/README.md b/README.md index fba6b74b4..312ba56a0 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ with. ## My JavaScript Demos - I Love JavaScript! +* [HTML Templates Can Be Mutated Just Like Any Other DOM](https://bennadel.github.io/JavaScript-Demos/demos/mutate-template) * [CSS Enter Animations Follow The 80/20 Rule](https://bennadel.github.io/JavaScript-Demos/demos/enter-animations-80-20) * [Reading Element Attributes In JavaScript](https://bennadel.github.io/JavaScript-Demos/demos/attribute-parts) * [Using The AngularJS Parser To Comply With CSP In Alpine.js 3.13.5](https://bennadel.github.io/JavaScript-Demos/demos/angularjs-parser-in-alpinejs) diff --git a/demos/mutate-template/index.htm b/demos/mutate-template/index.htm new file mode 100644 index 000000000..ed9ee4df7 --- /dev/null +++ b/demos/mutate-template/index.htm @@ -0,0 +1,51 @@ + + +
+ + + + ++ Counter: 0 +
+ + +