Tests fail, but everything seems to be correct


I just made one of these new projects (survey page) and tested it with the new test suite, but it always tells me, that my inputs don’t have the ids “name” and “email”.

<input type="text" class="form-control" id="name" placeholder="John Doe">
<input type="email" class="form-control" id="email" placeholder="johndoe@example.com">

How can I fix it?

I got this message when I viewed the pen in Firefox:

Test suites are currently optimized for Chrome. There are known issues that we are trying to . . .

Perhaps this has something to do with it?

Have a look at the error again. You need to set the required attribute of the input

1 Like

Actually it looks like your name and e-mail fields aren’t required fields as the assignment asks for…

1 Like

That helped, thank you. A bit tricky for not native english speaking people…