Hello everyone -
Apologies in advance if this sounds dumb or if it has been answered elsewhere, but I couldn’t find previous answers to my question, and my brain is very literally oriented.
I am not having trouble with any line of code specifically, rather I have a question on the 10th instruction for this project. It states:
- 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”
My understanding from the lessons was that the label elements ( as in label for=“” ) should be named the same as the input id/name. So is this just telling that all of those (including the label=“for”) should have those specific names?
Thanks
Ryan
Your code so far
<!-- file: index.html -->
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Challenge: Survey Form - Build a Survey Form
Link to the challenge: