We don’t always need a framework like React/Vue/Angular to add interactive behaviour to our web pages. The browser provides some handy features that can make it easy to add simple interactions. One example is the template element. Let’s take a look at how to use it to dynamically inject elements into a page.
Template Element - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template