Survey Form Alignment

Survey Form Alignment


In the Responsive Web Design Projects > Build a Survey Form, there’s an example survey form:

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:


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


Take a look at this codepen for forms layout inspiration.