Coding task · HTML and CSS course · Module 4: Flexbox
Navigation Bar with Flexbox
Flexbox is perfect for creating navigation bars. Use display: flex on the nav container, justify-content: space-between to distribute the logo and menu, and align-items: center for vertical alignment. It's like a decorative frieze on an Egyptian temple wall - elements in one line, perfectly aligned!
Task
Create a navigation bar with a logo on the left and 4 menu links on the right, using Flexbox with justify-content: space-between and align-items: center.