Lay out a portfolio page the way Flex, Grid, and CSS Layout Techniques describes: Flexbox for the header and navigation, Grid for the content. The page is loaded; you write the layout in the stylesheet.

  1. Make the header a flex container with display: flex, then use justify-content: space-between and align-items: center so your name sits on the left and the links on the right.
  2. Style the navigation links (nav a) so they are white with some space between them.
  3. Make .projects a grid with three equal columns: display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;.
  4. Give each .project card a border, padding and rounded corners.
  5. Make it responsive: add a @media (max-width: 600px) rule that changes the grid to one column. Narrow the preview by resizing your browser window to see it switch.

Think about it: why is Flexbox the right tool for the header but Grid the right tool for the cards?

You do not have permission to attempt this activity.