Examples of web controls > composite elements

The goal is to have composite elements, each defined in a separate file, which can be placed in the scene set by the index.html file. Click the small rectangle inside each medium rectangle.

This example uses document.write() of template literals to append script and html to the page. The example of add & remove composite elements uses the alternative of adding template literals to specific elements on the page using innerHTML.