Build a Survey Form - tests failing

Tell us what’s happening:
My code looks fine but it can’t pass tests 4 (there must be an input with id=“name”) and 5 (there must be an input with id=“email”). I couldn’t find a solution on the forum, and it feels like there’s a problem with the tests. I’ve tried both forking the pen from the challenge and adding the CDN to my own pen.

Your code so far

Your browser information:

Chrome Version 67.0.3396.79 (Official Build) (64-bit)

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36.

Link to the challenge:

  1. Inside the form element, I am required to enter my name in a field with id=“name”.

If I’m not wrong, it seems the problem is the required part of the sentence. There is a required attribute in the input that can be used to make that the survey cannot be completed if these fields are empty. Google how to use it, test it and look if that is the problem there. Good luck!


That’s exactly it! Fixed. Thank you so much

1 Like