After adding the #submit input element to my code with the link provided by freeCodeCamp. Though the form does check whether or not the email address is formatted properly and I used the correct link, the 12th test comes back negative. My father is having a similar issue and I would appreciate the help.
My code can be found here: https://codepen.io/firecv/pen/mdyKXxR
The formtarget attribute specifies a name or a keyword that indicates where to display the response that is received after submitting the form.You can not pass the url to formtarget
attribute as value.
You added formtarget
attribute to #submit
but you don’t need it.
add action="https://www.freecodecamp.com/email-submit"
attribute to the form
element and name
attribute to the element with id=email
.