HTML/CSS Advanced/Interactive Grid task: the repeat() CSS function
0 XP of 35727 XP
// Task

In the style.css file, edit the grid-template-columns property so that the result stays the same, but instead of the value "1fr 1fr 1fr 1fr", use the CSS repeat() function with the fraction (fr) unit. Follow the code formatting conventions. Leave the rest of the code unchanged. If you don't know the solution, click the "Show answer" button.

🔒 localhost
Section 8 · Lesson 96Free Preview

Interactive Grid task: the repeat() CSS function

IDE250 XP2:35
// lesson_notes

—