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