--- id: 5a90373638fddaf9a66b5d39 title: Use grid-row to Control Spacing challengeType: 0 videoUrl: 'https://scrimba.com/p/pByETK/c9WBLU4' forumTopicId: 301137 --- ## 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.
## Instructions
Make the element with the item5 class consume the last two rows.
## Tests
```yml tests: - text: item5 class should have a grid-row property. testString: assert(__helpers.removeWhiteSpace($('style').text()).match(/\.item5{.*grid-row:.*}/g)); - text: item5 class should have a grid-row property which results in it consuming the last two rows of the grid. testString: " const rowStart = getComputedStyle($('.item5')[0]).gridRowStart; const rowEnd = getComputedStyle($('.item5')[0]).gridRowEnd; const result = rowStart.toString() + rowEnd.toString(); const correctResults = ['24', '2-1', '2span 2', '2span2', 'span 2-1', '-12', 'span 2span 2', 'span 2auto', 'autospan 2']; assert(correctResults.includes(result)); " ```
## Challenge Seed
```html
1
2
3
4
5
```
## Solution
```html
1
2
3
4
5
```