An example of using JSON and dynamic creation of controls
Adrian Petria
No-Library (pure JS), HTML, CSS, JavaScript