I won’t bother including all the code I’ve done so far because I’m sure it’s a simple issue, I’m just not fully understanding why it’s asking me to nest all my radio buttons & check boxes in labels!
I don’t think it explained it very well in the lesson and if it did I’m being completely stupid! Thanks for any help!
<label>
<input type="text" name="input_name" id="input_id>
label text
</label>
Both of the above code work, and both associate the input with the label. But nesting the input within label eliminates the requirement of having a for attribute in the label element. Note it is still good form to include the for attribute.
For me I like 1. better, as I find styling 1. in CSS easier.