Header positioning help

Hello, I am very new to coding and have been self studying html and css. I am trying to get my navigation links in the header to center with the logo in the header on the left hand side. I have tried several tactics within my CSS code with no success. Does anyone have any tips how I can accomplish this? Thank you in advance!
No description
No description
No description
No description
5 Replies
majkl
majkl3mo ago
Flex / grid.
MarkBoots
MarkBoots3mo ago
I see you are not using flex and/or grid i would highly recommend looking into that
VQS_W
VQS_W3mo ago
try and display the main nav as flex main-nav*
majkl
majkl3mo ago
https://codepen.io/Ghloo/pen/rNbaXJJ // Still you need to tackle the mobile layout (first), too.
Ali
Ali3mo ago
Thanks all! I'm not quite into flex or grid yet but am working my way there. Good to know I can do this easier down the line.