Tests fail, but everything seems to be correct

Tests fail, but everything seems to be correct
0.0 0

#1

Hi,

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">
and
<input type="email" class="form-control" id="email" placeholder="johndoe@example.com">
or
https://codepen.io/id3301/pen/LrbGRa

How can I fix it?


#2

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?


#3

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


#4

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


#5

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