This is my first codeacademy forum post.

I am learning how to use flex box and I’m really stuck on one aspect.

I want to position all three squares as align-center. I want the pink and yellow to be justify - flex start and the blue to be justify - flex end. I can’t seem to do it. Does anyone have any advice please?


When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

Hi there,

I could be wrong, but is this the finished product you are looking for?

If so, all you would need to do is set the left-margin of the blue square to auto. If not, could you link the lesson? (If applicable) Or could you provide an example of what you are looking for? Thank you. :slight_smile:

1 Like