Build a Survey Form not passing all tests

Hello everyone,

I have completed my “Build a Survey Form” project, but I can’t seem to get it to pass all tests no matter what I try, it only passes 15 out of 17 tests. I checked many times but am not sure what am doing wrong here, can someone please help me and tell me what am doing wrong? this is the project link:

codepen io/ abdullahsa/ pen/ PLdGZZ

it seems that when I pasted the code it did not format correctly, can someone please delete this post until I figure out how to do it correctly because I don’t seem to have a permission to delete it

Remember to surround your code in backticks to format.

Image result for Code in markdown

Note: you do not need the sql

Click the 3 dots next to the edit button (on bottom of post) and hit the trashcan to delete. If you cannot delete it, just message a moderator (shield next to name) to delete it them self. Or i can just report it as “Other” and cite that you want it deleted.


Please hit the reply button or I do not get notified.

Helpful tools–>

1 Like

Hello @abdullahsai, just edit your original post and delete everything except for the first paragraph. Then since you can’t post your link just yet, add spaces to it when you post it, something like this
codepen io/ username / penname


The name and email inputs need to have the required attribute on them.

<input type="text" required>

1 Like

michaelnicol, Roma, lasjorg

Thanks for your help, I managed to pass all the tests after adding “required” to the name and email inputs.