Just finished the Survey Form Challenge and managed to fulfill all of the user stories. However, I was hoping for some clarification on the difference between and reasons for the following form attributes: name, ID, for and value. They seem to frequently carry the same value and I am having trouble understanding why they are all needed and why they aren’t redundant. Here’s my best understanding thus far:
Name: ??? no idea ???
ID: for styling purposes
For: to identify data returned to the coder
Value: ??? no idea ??? (Seems the user provides this when they provide the input.)
Could someone explain what these are for and why all 4 were needed in the form for this challenge? Are all four of these needed for every form?
Here is my project link: https://codepen.io/rjlamont/pen/KKaEqJN
(I am also not clear on the proper etiquette for questions. I see a lot of leader responses asking for code in between lines with 3 back ticks. Are back ticks back slashes and should I copy & paste the code instead of giving the link?)
Any responses and feedback are appreciated.