Survey Form Alignment

Survey Form Alignment
0

#1

In the Responsive Web Design Projects > Build a Survey Form, there’s an example survey form: https://codepen.io/freeCodeCamp/full/VPaoNP

I’m wondering how to get that center alignment: the words aligned on one side and fields aligned on the other side like that. I know that’s just an example but I like that alignment.

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


#2

Look at the rowTab and rightTab classes in the example. Right click > Inspect Element


#3

Take a look at this codepen for forms layout inspiration.