3 ms·
You can definitely do that, the real issue is tracking changes you made to the webpages to alter them later, like adding a new form section. Also the DOM API is
by skydhash 4y ago
You can definitely do that, the real issue is tracking changes you made to the webpages to alter them later, like adding a new form section. Also the DOM API is not the most consistent. But if you're well-disciplined in coding, it can be done, but make sure you have designed your implementation because the language itself is very permissive. Very much not necessary, but you can use a library for a more consistent DOM manipulation, like jQuery or UmbrellaJS [1].
You'll need some kind of backend, and you can either make your web app server rendered, which means embedding your frontend inside the backend, mostly by using the backend template language. Or split the two and communicate via XHR/AJAX.
If your forms are static, something like Netlify Forms and Netlify Identity can take care of both submissions and authorizations.
[0]: https://developer.mozilla.org/en-US/ https://developer.mozilla.org/en-US/
[1]: https://umbrellajs.com/ https://umbrellajs.com/