Flex


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/make-a-website/lessons/boundaries-space/exercises/display-flex?action=lesson_resume

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
My code does not behave incorrectly, I am just confused about the flex value of the CSS display attribute. In a previous lesson, it is stated that images are automatically inline, so why does the flex display-value make the images align horizontally?

```

Replace this line with your code.

<do not remove the three backticks above>

#2

Hey @betamaster60141 I believe that display:flex is considered a block-level container, applying flex to a container generally affects the contents within it (children)…

images are inline, and will flow left to right with/same as the text


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.