Build a Survey Form -- problem with the test code

I built a Survey Form and I put the test script in. When I run the tests, my form fails in n. 4 and 5. Number 4 is " I am required to enter my name in a field with id=“name”. Number 5 is similar: "I am required to enter an email in a field with id=“email.”

In my code, there are both the requested ids:

<input id="name" type="text" placeholder="Enter you name">

<input id="email" type="email" placeholder="Enter you Email">

So where is the problem?

I use FF but the problem looks the same in Chrome.

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

Link to the challenge:

It helps if you provide a link to your project rather than just post snippets of code (although that helps to have as well).

Remember that in HTML, we can require certain inputs from the user with an attribute on the form element. Review this lesson: Use HTML5 to Require a Field

1 Like

That was it. Thank you very much.

1 Like