Layout with flexbox - Justify Content

it was display : flex before, when i changed to inline-flex, why all .containers not come into one line ??

Hi there,
Because the contents of the container are inline flex - if you wanted the containers to be inline flex, you’d have to go one step higher in the hierarchy.

thanks for your response, i tried display in body tag and it worked.
but in previous exercise (inline-flex), i have set same display of .container class, in that they displayed side by side. but not in this exercise.