How to easily convert HTML form tag input values to an object in JavaScript?
Originally Published Here ๐!
To convert the input values from an HTML form tag to an object, you can use the FormData() constructor available in the global window object in JavaScript.
TL;DR
// Get reference to the form element
const myForm = docume...
melvingeorge-me.hashnode.dev3 min read