Merge branch 'TheOdinProject:main' into thatblindgeye-patch-2
This commit is contained in:
commit
d492ec84b9
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<!-- Complete the following REQUIRED checkboxes by replacing the whitespace between the square brackets with an 'x', e.g. [x]. -->
|
<!-- Complete the following REQUIRED checkboxes by replacing the whitespace between the square brackets with an 'x', e.g. [x]. -->
|
||||||
- [ ] I have thoroughly read and understand the [CSS Exercises Contributing Guide](https://github.com/TheOdinProject/css-exercises/blob/main/CONTRIBUTING.md)
|
- [ ] I have thoroughly read and understand the [CSS Exercises Contributing Guide](https://github.com/TheOdinProject/css-exercises/blob/main/CONTRIBUTING.md)
|
||||||
- [ ] The title of this PR is in `file/exercise/folder: brief description of changes` format e.g. `01 flex center: add hint for XYZ`
|
- [ ] The title of this PR is similar to the `file, exercise/lesson, or folder: brief description of changes` format e.g. `01 flex center: add hint for XYZ`
|
||||||
|
|
||||||
<!-- Complete the following checkboxes only if they are applicable to your PR. You can complete these later if they are not currently applicable. -->
|
<!-- Complete the following checkboxes only if they are applicable to your PR. You can complete these later if they are not currently applicable. -->
|
||||||
- [ ] If one exists, I have linked a related open issue to this PR in Step 2 below
|
- [ ] If one exists, I have linked a related open issue to this PR in Step 2 below
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
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!
|
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
|
### Hints
|
||||||
|
|
||||||
- You only need to add to the CSS selectors
|
- 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
|
- 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
|
- Use fixed track sizes (e.g. pixels) for your columns and rows
|
||||||
|
@ -12,10 +13,11 @@ Now it's time to practice the Grid tools we've learned and create a layout that
|
||||||
![desired outcome](./desired-outcome.png)
|
![desired outcome](./desired-outcome.png)
|
||||||
|
|
||||||
### Self Check
|
### Self Check
|
||||||
|
|
||||||
- The gap is 15px
|
- The gap is 15px
|
||||||
- The grid has two columns
|
- The grid has two columns
|
||||||
- The grid has four rows
|
- The grid has four rows
|
||||||
- The first column is three times larger than the other
|
- The second column is three times larger than the first
|
||||||
- The third row is five times larger than the others
|
- The third row is five times larger than the others
|
||||||
- The header and footer elements span across both columns
|
- The header and footer elements span across both columns
|
||||||
- The sidebar element only spans across the first column
|
- The sidebar element only spans across the first column
|
||||||
|
|
Loading…
Reference in New Issue