I am working my way through this project; I am following each User Story, and adding code to pass each test. I have run into a problem with User Story #5, which reads: " User Story #5: Inside the form element, I am required to enter an email in a field with id="email" ."
My question is that this is really a small variation from User Story #4, which is " User Story #4: Inside the form element, I am required to enter my name in a field with id="name" ."
If I was able to pass Test #4, why doesn’t it work for passing Test #5?
Here is my HTML:
It’s easier to help if you post a link to your code rather than a small snippet.
But just from what you’ve posted there’s a glaring error. There should only be one form element. Form elements inside of form elements are not allowed.
As a help, try searching for “html form elements”