Building a HTML Element Sandbox with Lit In this article I will go over how to set up a Lit web component and use it to create a HTML Element sandbox that can be used to update a live component. TLDR The final source here and an online demo. Prerequisites Vscode Node = 16 Typescript Getting Started We can start off by navigating in terminal to the location of the project and run the following: Then enter a project name and now open the project in vscode and install the dependencies: Update the with the following: Template Open up the and update it with the following: Here we are defining the…