Tell us what’s happening:
I believe I’ve finished the Survey Form Project, but 5 of the tests (#4, #7#8, #9#11) don’t accept my code for some reason. I have the id’s it says I need, and the specific input types it wants, as well as placeholders, but nothing changes. I’m not sure if I’m overlooking something or if it’s just messed up. Thanks for any help!
Your code so far
Here’s the link to my project:
Your browser information:
Google Chrome Version 84.0.4147.105 (Official Build) (64-bit)
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36.
You have a typo in the required attribute on name input field and the field for age has a wrong id value, it should be “number”.
On thing you maybe should pay attention to, is that you have a main and a div element declared outside the body element but has nothing to do with the error
/Jakob
Thank you, those fixed everything! How come having that one id labeled wrong showed everything else as messed up, even though it was coded correctly? Is that to do with the code, or just FCC?
It’s just the tests. Giving the input element the wrong id will make all the tests that depend on that id to find it in the DOM fail to do so, and so all the tests will fail.
Think of it as a room with 10 people, you might say the right thing, but if you do not use the correct name nobody knows who you are talking to.