Building forms is a common task in Front End. In this exercise, we will build a basic "Contact Us" form, commonly seen on marketing websites for visitors to ask questions or provide feedback.
<textarea>
will be more suitable.Upon submission, POST
the form data to https://www.greatfrontend.com/api/questions/contact-form
with the following fields in the request body: name
, email
, message
.
If all the form fields are correctly filled up, you will see an alert containing a success message. Congratulations!
You do not need JavaScript for this question, the focus is on HTML form validation and submission.
Building forms is a common task in Front End. In this exercise, we will build a basic "Contact Us" form, commonly seen on marketing websites for visitors to ask questions or provide feedback.
<textarea>
will be more suitable.Upon submission, POST
the form data to https://www.greatfrontend.com/api/questions/contact-form
with the following fields in the request body: name
, email
, message
.
If all the form fields are correctly filled up, you will see an alert containing a success message. Congratulations!
You do not need JavaScript for this question, the focus is on HTML form validation and submission.
console.log()
aparecerão aqui.