Survey form project (labels)

I don’t understand this part " 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" ." is it means that I should put label with for attribute with these names or what?

you need to have labels that have the required id attributes

the for attribute is a different thing, it is used to link the label with the input element, and the for attribute of the label and the id attribute of the input need to match

<label id="name-label"></label> like this?

now try to continue with the other things

1 Like

Thank you so much for help!