read html form data in javascript code example
Example: js get data from form
const form = document.querySelector('form');
const data = new FormData(form);
const form = document.querySelector('form');
const data = new FormData(form);