Survey form alignment problem

Survey form alignment problem
0

#1

Tell us what’s happening:
Hey everyone. Im coding survey form project and got stuck at aligning text, input boxes, ckeckboxes and radio buttons. . Im trying to make survey form to look the same way like this: https://codepen.io/freeCodeCamp/full/VPaoNP
and so far i coded mine to look like this: https://codepen.io/NaglisRokas/pen/VBxKdj

as you can see all the text should be aligned on the left, all the input, checkboxes, radio buttons should be on the right and neatly centered. I was trying to use float but all i get is big mess.

Can anyone help me with the code?

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-projects/build-a-survey-form


#2

Here an example on laying out forms.


#3

I got it now. Thank you !