daniel-carrasco
daniel.carrasco.dev @gmail.com
+34 680923983
GitHub
LinkedIn
1const form = document.querySelector('form'); 2 3const message = { 4 name: '', 5 email: '', 6 message: '', 7 date: '2023-12-11' 8} 9 10form.addEventListener('submit', () => { 11 console.log(message); 12})