sendContactEmail() {
        this.DOM.contactFormSubmitButton.classList.add('button--spinner');

        setTimeout(() => {
            this.showContactFormNotification('success', 'Message has been sent :)')
            this.DOM.contactFormFieldEls.forEach(field => field.value = '');
            this.DOM.contactFormSubmitButton.classList.remove('button--spinner');
        }, 2000);
    }
// You should edit it in order to make the contact form working considering your backend setup.
You should edit it in order to make the contact form working considering your backend setup.
You should edit it in order to make the contact form working considering your backend setup .
sendContactEmail() {
        this.DOM.contactFormSubmitButton.classList.add('button--spinner');
        setTimeout(() => {
            this.showContactFormNotification('success', 'Message has been sent :)')
            this.DOM.contactFormFieldEls.forEach(field => field.value = '');
            this.DOM.contactFormSubmitButton.classList.remove('button--spinner');
        }, 2000);
    }
sendContactEmail ( ) { this . DOM . contactFormSubmitButton . classList . add ( 'button--spinner' ) ; setTimeout ( ( ) => { this . showContactFormNotification ( 'success' , 'Message has been sent :)' ) this . DOM . contactFormFieldEls . forEach ( field => field . value = '' ) ; this . DOM . contactFormSubmitButton . classList . remove ( 'button--spinner' ) ; } , 2000 ) ; }
You should edit it in order to make the contact form working considering your backend setup.
You should edit it in order to make the contact form working considering your backend setup .