Examples of web controls > build composite objects
The goal is to have composite objects, 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 complex objects uses the alternative of adding template literals to specific elements on the page using innerHTML.