Help with nav bar formating flexbox

Hi im on a challenge and css is really hard.
i want to have my logo (tree and name fresh) on the left of the nav bar and the rest centered.
I cant seem to achieve this.
please review and help me

https://codepen.io/slshustle/pen/XWjqKyY?editors=1100

cheers

Hi @slshustle110,

One problem I see is that you have mainnav set to display: flex, and based on your wanting to position your menu items—which are the li elements within the ul element within nav—you really want your ul element to be a flex box container so that you can position those li elements.

Try reading through the documentation page on Box alignment in Flexbox, taking specific note in the Alignment and auto margins section—which contains the information that should lead you toward a solution.

Try playing around with that information and if you still need help report back what you tried and I can give you further hints.

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