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">.


Hint 1

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


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