Survey form help please

Survey form help please


My survey form has passed 15 out of the 17 tests required and I don’t get what’s wrong with the ones that didn’t. they’re both about the name and email input fields having the correct id’s. I’ve double checked it a hundred times, looked at other people’s code but it looks the exact same. Really need some feedback on it!! Here’s my project on codepen:

Thanks in advance.


Always make sure you read the whole error:

AssertionError: Name input field should be required : expected false to be truthy

You need to make both fields required.


You code is almost there.

The problem you are having is not obvious at first- the tests require that for the inputs email and name, the user must enter a value. To do this the inputs must have the required attribute set:

<input type="whatever" id="whatever" required />

Hope this helps :slight_smile:


Thank you so much!! I’ll make sure to read the whole thing next time lol.


Thanks!!! I was only looking at the id and it didn’t even cross my mind that the problem would be that. Appreciate it!