Coding task · HTML and CSS course · Module 8: CSS Grid

The repeat() Function in CSS Grid

Use the repeat() function like repeating columns in an Egyptian colonnade.

Task

Create a grid with repeat(4, 1fr) for 4 equal columns and repeat(3, 200px) for 3 rows of 200px each.