flex
should be applied to the container (parent element), not the items themselvesflex-direction
is row
column
: will stack item on top of each other in a columnjustify-content
aligns the flex items within the containersrc
attribute within the tag for the headers for Salmon Cookieslorem
within HTML to generate placeholder text directlyTo keep all content centered within the display window, use the below:
main {
margin: auto;
}
overflow: auto;
will create a scroll bar