        form.remove();
            feedbackSubmitContainer.remove();
            result.innerHTML = '{{ .Site.Params.feedback.errorMsg | default "Sorry! There was an error while attempting to submit your feedback!" }}';
            result.classList.add("is-visible");
        }
        // console.log("feedback submitted")
    });

</script>