Our great sponsors
-
meeba-farm
Evolving life simulation, written in vanilla JS, full of living, feeding, breeding, mutating "meebas"
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
That said, if you are really attached to writing your own, I did that for a project of mine a few years back. Perhaps you could take some inspiration from it.
For an app of any significant size, I don’t think you save yourself much time or effort by going that route. I would recommend instead pulling in a barebones framework like Mithril, which is not only a small zero-dependency package, but also has a small easy-to-learn API.