Examples of DOM Interactions with Template Literals

This shows some ways you can interact with the DOM using JavaScript template literals. These examples require Chrome (with Babel, you could remove this requirement). Explore the code at GitHub.

Grid (Modular)
This shows how to build a grid using a more modular approach. You might use this approach with more complex components.
Grid (Inline)
This shows how to build a grid using a single template literal. You might use this approach with very simple components.