Finished the Survey project plus 1.5 questions

the code

I made a survey about a cult(I promise the background looks really pretty , if not the content so I hope y’all check it out). I decided to make life difficult for myself and use flexbox instead of grid or just leaving the default design. I thus have a few questions.

Must I wrap my inputs in labels , for accessibility reasons, or is it fine if I just give the label a for="" attribute?

Is there any way to make text and checkboxes/radiobuttons align themselves next to each other easily? I went on my phone and the elements were misaligned so I made them flexboxes but even now if I added more than one word they would misalign. e.g. replacing ‘life’ with ‘my life’ would mess the arrangement up.

1 Like