Vanilla JavaScript get all elements in a form
If you ever made your own validation you will understand the struggle of getting all the form elements.
I've made code that would loop over each type of input as such:
types = ['input', 'select', 'texture'];
// Manually loop and get all those
That w...
h.daily-dev-tips.com3 min read