Hi all. I’m a beginning web developer working on my front end certification here on FCC. I’m currently working on the product landing page project, but I cannot get the nav bar and the logo image to appear on the same line. Here is my codepen, please excuse the crudity, as I haven’t worked on the fonts/colors/aesthetics yet at all: https://codepen.io/jeremyg2112/pen/bOoyzJ
What I want is to have a nav bar that is centered over the body of the page, and at the same time have the logo image off in the top left corner, visually aligned with the nav bar, but not affecting the nav bar’s center position over the body. The current design is the closest I could get. It behaves well and is responsive, but you can see there is all that wasted space above the nav bar and it looks awful (looks good at mobile resolution though).
For the nav bar ul element, I’ve applied:
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
I’ve tried putting the logo image into the ul element so that it will be part of the flexbox, but I would just prefer it to be all the way off to the left if possible. What are my options? I’ve also tried changing the img display property to inline or inline-block, but that didn’t change anything.