1const button = document.querySelector("#sendBtn"); 2 const message = { 3 name: "", 4 email: "", 5 message: "", 6 date: "Sat Oct 12 2024" 7 } 8 button.addEventListener("click", () => { 9 form.send(message); 10 })