This is the project I’m working on
& here is the one I’m basing the layout off of:
I’m trying to figure out how the one I’m basing it off of got the dark purple background to be centered in the screen? I’m not sure if I should be using margin to apply to each selector to center it, and then change the background color to somehow also stay within those margins? Or if I should apply borders to the entire survey-form id to move everything besides the intro and force it closer to the center and then apply a background color?
Thank you. I know this isn’t necessary for the project but would like to challenge myself to code closer to what was given as a model example. Initially, I thought I should use flexbox to achieve this but then decided it’d be better not to? - Correct me if you think it’d be easier.