yahia-elsayed
_contact-me
contact
1const button = document.querySelector('#sendBtn');
2
3const message = {
4 name: "",
5 email: "",
6 message: "",
7 date: "Mon, 16 Dec"
8}
9
10button.addEventListener('click', () => {
11 form.send(message);
12})
_contact-me
1const button = document.querySelector('#sendBtn');
2
3const message = {
4 name: "",
5 email: "",
6 message: "",
7 date: "Mon, 16 Dec"
8}
9
10button.addEventListener('click', () => {
11 form.send(message);
12})