We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 702b9fc commit 95f7974Copy full SHA for 95f7974
1 file changed
src/js/08-feedback.js
@@ -47,12 +47,12 @@
47
48
console.log(feedbackFormData)
49
50
- fetch("/", {
51
- method: "POST",
52
- headers: { "Content-Type": "application/x-www-form-urlencoded" },
53
- body: new URLSearchParams(feedbackFormData).toString()
+ fetch('/', {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
+ body: new URLSearchParams(feedbackFormData).toString()
54
})
55
- .then(() => console.log("Form successfully submitted"))
+ .then(() => console.log('Form successfully submitted'))
56
.catch(error => alert(error))
57
58
feedbackFormSubmitButton.innerText = 'Submitted'
0 commit comments