freeCodeCamp Challenge Guide: Add Rows with grid-template-rows

Add Rows with grid-template-rows


Problem Explanation

In this challenge, you are required to define rows for the CSS grid in <div class="container">.


Hints

Hint 1

You can define rows by using the grid-template-rows CSS property.


Solutions

Solution 1 (Click to Show/Hide)

Since the challenge requires you to create two rows of 50px each, declare the following in your .container CSS code block:

grid-template-rows: 50px 50px;
1 Like