document.addEventListener('DOMContentLoaded', () => {
  const contactForm = document.getElementById('contact-form');
  const formSubmitButton = document.getElementById('contact-form-submit');
  formSubmitButton.addEventListener('click', () => {
    fetch(contactForm.getAttribute('action'), {
      method: contactForm.getAttribute('method'),
      body: new FormData(contactForm),
    }).then(response => response.text()).then((body) => {
      if (body === 'true') {
        contactForm.innerHTML = 'Success :D';
      } else {
        contactForm.innerHTML = 'Failure :/';
      }
    });
  });
});

document.addEventListener('DOMContentLoaded', () => {
  const contactForm = document.getElementById('contact-form');
  const formSubmitButton = document.getElementById('contact-form-submit');
  formSubmitButton.addEventListener('click', () => {
    fetch('https://arkisio.now.sh/contact', {
      method: 'POST',
      body: new FormData(contactForm),
    }).then(response => response.text()).then((body) => {
      if (body === 'true') {
        contactForm.innerHTML = 'Success :D';
      } else {
        contactForm.innerHTML = 'Failure :/';
      }
    });
  });
});

--- 
+++ 
@@ -2,8 +2,8 @@
   const contactForm = document.getElementById('contact-form');
   const formSubmitButton = document.getElementById('contact-form-submit');
   formSubmitButton.addEventListener('click', () => {
-    fetch(contactForm.getAttribute('action'), {
-      method: contactForm.getAttribute('method'),
+    fetch('https://arkisio.now.sh/contact', {
+      method: 'POST',
       body: new FormData(contactForm),
     }).then(response => response.text()).then((body) => {
       if (body === 'true') {
Use the form's attributes for URL and method instead of hardcoding values
