I’m working on the form a story project. Task 13.
Up until this point, I thought
<label for=Example>Example</label>was used to link it to the inputs id.
<label for="example"></label> <input id=example type=radio>
However, it seems that I can make the for anything and it will still appear correctly.
<label for="example"></label> <input id=Yes type=radio>
Hoping someone can refresh me, why exactly are we using the
for= attribute with labels?