odin-default-css-exercises/grid/01-grid-layout-1
Scoozy 73a0b5ee4f
Merge branch 'main' into main
2022-03-14 15:17:47 -05:00
..
solution Add indents to <body> and <head> tags in all exercises 2022-01-30 12:16:13 -06:00
README.md Modify Self Check item on README.md 2022-01-31 00:11:22 -03:00
desired-outcome.png Add desired outcome image to folder and link in README.md 2022-01-05 12:52:38 -05:00
index.html Add indents to <body> and <head> tags in all exercises 2022-01-30 12:16:13 -06:00
style.css simplify solution 2022-01-12 13:31:06 -06:00

README.md

The Holy Grail Layout with Grid

Now it's time to practice the Grid tools we've learned and create a layout that might seem familiar. We're going to make a Holy Grail Layout like the ones we created using Flexbox. The difference here is that we won't be relying on Flexbox for this exercise. We'll only be using Grid. You'll be able to see the benefits of Grid for yourself!

Hints

  • You only need to add to the CSS selectors
  • Look back to the Creating a Grid lesson if you forget how to turn an element into a grid
  • Use fixed track sizes (e.g. pixels) for your columns and rows

Desired Outcome

desired outcome

Self Check

  • The gap is 15px
  • The grid has two columns
  • The grid has four rows
  • The second column is three times larger than the first
  • The third row is five times larger than the others
  • The header and footer elements span across both columns
  • The sidebar element only spans across the first column
  • The nav and article elements span across the second column