Build a Survey Form -- problem with the test code

Build a Survey Form -- problem with the test code
0.0 0

#1

Hi,
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:
https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-projects/build-a-survey-form


#2

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


#3

That was it. Thank you very much.