Hello! I have nearly finished the survey form but I still have one test to pass and I don’t understand what I’m doing wrong. It’s test number 10: For the name, email, and number input fields inside the form I can see corresponding labels that describe the purpose of each field with the following ids: id=“name-label”, id=“email-label”, and id=“number-label”.
Can anyone help me?
Thanks in advance
first, I recommend you save your code in a pen belonging to you, so you can also share it
the link you have shared is of the pen with just the test suite, if you don’t fork it you can’t save and we can’t see your code
When any tests fail, click on the red button to see what the test was looking for and text to help you fix it.
Read more than just the first line. The failing test says;
For the name, email, and number input fields inside the form I can see corresponding labels that describe the purpose of each field with the following ids: id="name-label", id="email-label", and id="number-label".
#number-label is not defined : expected null to not equal null
Hey it looks like you missed spelled number under the number label. That should fix the problem.
check spelling label id=“numer-label” you wrote numer istead of number
Thanks for the tip! That solved the issue.
Thanks for the tip! It was a misspelling!
Thanks for the tip! It was a misspelling indeed!