Tell us what’s happening:
I posted my survey form, granted I did not put the exact titles/descriptions in but I have been fixing them as I go. I have a few X’s left to correct but some of them are contradicting the others. " Your #number should have an id element of #number and an attribute and value." Check done, next X, “Your #number should have an id of #number-label and a value.” One cancels the other
Your code so far
The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.
You will need to take an additional step here so the code you wrote presents in an easy to read format.
‘’’ Example line’‘’
What happens is one of the items in the check list want an id of #number with a.b.c. criteria the next wants an id of #number-label with similar criteria. If I change the id of one “name” to the other it marks the other as missing/incorrect. That is what I mean by cancels the other one out. I can’t have two ids with two different names performing the same function.
they are not asking you to add two different ids to the same element.
They are asking you to add different ids to -different- elements.
You need to read that more carefully I think?
Inside the form, you can enter a number in an input field that has an id of number
So you will need an input field whose id is number for this one.
For the name, email, and number input fields, you can see corresponding label elements in the form, that describe the purpose of each field with the following ids: id="name-label", id="email-label", and id="number-label"
They want these ids on the -label- elements (not the input!)
#survey-form is indicating an id, but I see multiple uses of that id in your code.
You need to make each id unique. So if one element has id survey-form, then no other element should share that id with it.