diff --git a/challenges/01-responsive-web-design/css-grid.json b/challenges/01-responsive-web-design/css-grid.json
index 038f8210f0..3549385972 100644
--- a/challenges/01-responsive-web-design/css-grid.json
+++ b/challenges/01-responsive-web-design/css-grid.json
@@ -25,7 +25,7 @@
},
{
"id": "5a858944d96184f06fd60d61",
- "title": "Create your first CSS Grid",
+ "title": "Create Your First CSS Grid",
"description": [
"Turn any HTML element into a grid container by setting its display
property to grid
. This gives you the ability to use all the other properties associated with CSS Grid.",
"Note
In CSS Grid, the parent element is referred to as the container and its children are called items.",
@@ -71,7 +71,7 @@
},
{
"id": "5a9036d038fddaf9a66b5d32",
- "title": "Add columns with grid-template-columns",
+ "title": "Add Columns with grid-template-columns",
"description": [
"Simply creating a grid element doesn't get you very far. You need to define the structure of the grid as well. To add some columns to the grid, use the grid-template-columns
property on a grid container as demonstrated below:",
"
.container {", @@ -120,7 +120,7 @@ }, { "id": "5a9036e138fddaf9a66b5d33", - "title": "Add rows with grid-template-rows", + "title": "Add Rows with grid-template-rows", "description": [ "The grid you created in the last challenge will set the number of rows automatically. To adjust the rows manually, use the
display: grid;
grid-template-columns: 50px 50px;
}
grid-template-rows
property in the same way you used grid-template-columns
in previous challenge.",
"px
and em
in CSS Grid to define the size of rows and columns. You can use these as well:",
"fr
: sets the column or row to a fraction of the available space,",
@@ -221,7 +221,7 @@
},
{
"id": "5a9036ee38fddaf9a66b5d35",
- "title": "Create a column gap using grid-column-gap",
+ "title": "Create a Column Gap Using grid-column-gap",
"description": [
"So far in the grids you have created, the columns have all been tight up against each other. Sometimes you want a gap in between the columns. To add a gap between the columns, use the grid-column-gap
property like this:",
"grid-column-gap: 10px;", @@ -272,7 +272,7 @@ }, { "id": "5a9036ee38fddaf9a66b5d36", - "title": "Create a row gap using grid-row-gap", + "title": "Create a Row Gap using grid-row-gap", "description": [ "You can add a gap in between the rows of a grid using
grid-row-gap
in the same way that you added a gap in between columns in the previous challenge.",
"grid-gap
is a shorthand property for grid-row-gap
and grid-column-gap
from the previous two challenges that's more convenient to use. If grid-gap
has one value, it will a create a gap between all rows and columns. However, if there are two values, it will use the first one to set the gap between the rows and the second value for the columns.",
"grid-column
property is the first one for use on the grid items themselves.",
"The hypothetical horizontal and vertical lines that create the grid are referred to as lines. These lines are numbered starting with 1 at the top left corner of the grid and move right for columns and down for rows, counting upward.",
@@ -427,7 +427,7 @@
},
{
"id": "5a90373638fddaf9a66b5d39",
- "title": "Use grid-row to control spacing",
+ "title": "Use grid-row to Control Spacing",
"description": [
"Of course, you can make items consume multiple rows just like you can with columns. You define the horizontal lines you want an item to start and stop at using the grid-row
property on a grid item.",
"justify-self
property on a grid item. By default, this property has a value of stetch
, which will make the content fill the whole width of the cell. This CSS Grid property accepts other values as well:",
"start
: aligns the content at the left of the cell,",
@@ -538,7 +538,7 @@
},
{
"id": "5a90375238fddaf9a66b5d3b",
- "title": "Align an item vertically using align-self",
+ "title": "Align an Item Vertically using align-self",
"description": [
"Just as you can align an item horizontally, there's a way to align an item vertically as well. To do this, you use the align-self
property on an item. This property accepts all of the same values as justify-self
from the last challenge.",
"justify-items
on your grid container. This property can accept all the same values you learned about in the previous two challenges, the difference being that it will move all the items in our grid to the desired alignment.",
"align-items
property on a grid container will set the vertical alignment for all the items in our grid.",
"grid-template-areas
on the container like this:",
"grid-template-areas:", @@ -749,7 +749,7 @@ }, { "id": "5a94fe1369fb03452672e45d", - "title": "Place items in grid areas using the grid-area property", + "title": "Place Items in Grid Areas Using the grid-area Property", "description": [ "After creating an areas template for your grid container, as shown in the previous challenge, you can place an item in your custom area by referencing the name you gave it. To do this, you use the
\"header header header\"
\"advert content content\"
\"footer footer footer\";
grid-area
property on an item like this:",
".item1 { grid-area: header; }", @@ -808,7 +808,7 @@ }, { "id": "5a94fe2669fb03452672e45e", - "title": "Use grid-area without creating an areas template", + "title": "Use grid-area Without Creating an Areas Template", "description": [ "The
grid-area
property you learned in the last challenge can be used in another way. If your grid doesn't have an areas template to reference, you can create an area on the fly for an item to be placed like this:",
"item1 { grid-area: 1/1/2/4; }", @@ -865,7 +865,7 @@ }, { "id": "5a94fe3669fb03452672e45f", - "title": "Reduce repetition using the repeat function", + "title": "Reduce Repetition Using the repeat Function", "description": [ "When you used
grid-template-columns
and grid-template-rows
to define the structure of a grid, you entered a value for each row or column you created.",
"Lets say you want a grid with 100 rows of the same height. It isn't very practical to insert 100 values individually. Fortunately, there's a better way - by using the repeat
function to specify the number of times you want your column or row to be repeated, followed by a comma and the value you want to repeat.",
@@ -923,7 +923,7 @@
},
{
"id": "5a94fe4469fb03452672e460",
- "title": "Limit item size using the minmax function",
+ "title": "Limit Item Size Using the minmax Function",
"description": [
"There's another built-in function to use with grid-template-columns
and grid-template-rows
called minmax
. It's used to limit the size of items when the grid container changes size. To do this you need to specify the acceptable size range for your item. Here is an example:",
"grid-template-columns: 100px minmax(50px, 200px);", @@ -975,7 +975,7 @@ }, { "id": "5a94fe5469fb03452672e461", - "title": "Create flexible layouts using auto-fill", + "title": "Create Flexible Layouts Using auto-fill", "description": [ "The repeat function comes with a option called auto-fill. This allows you to automatically insert as many rows or columns of your desired size as possible depending on the size of the container. You can create flexible layouts when combining
auto-fill
with minmax
.",
"In the preview, grid-template-columns
is set to",
@@ -1046,7 +1046,7 @@
},
{
"id": "5a94fe6269fb03452672e462",
- "title": "Create flexible layouts using auto-fit",
+ "title": "Create Flexible Layouts Using auto-fit",
"description": [
"auto-fit
works almost identical to auto-fill
. The only difference is that when the container's size exceeds the size of all the items combined, auto-fill
keeps inserting empty rows or columns and pushes your items to the side, while auto-fit
collapses those empty rows or columns and stretches your items to fit the size of the container.",
"Notedisplay
and grid-template-columns
properties of the element with the item3
class, you create a grid within your grid.",