--- id: 5a9036ee38fddaf9a66b5d37 title: Add Gaps Faster with grid-gap challengeType: 0 videoUrl: 'https://scrimba.com/p/pByETK/ca2qVtv' forumTopicId: 301118 dashedName: add-gaps-faster-with-grid-gap --- # --description-- `grid-gap` is a shorthand property for `grid-row-gap` and `grid-column-gap` from the previous two challenges that's more convenient to use. If `grid-gap` has one value, it will create a gap between all rows and columns. However, if there are two values, it will use the first one to set the gap between the rows and the second value for the columns. # --instructions-- Use `grid-gap` to introduce a `10px` gap between the rows and `20px` gap between the columns. # --hints-- `container` class should have a `grid-gap` property that introduces a `10px` gap between the rows and a `20px` gap between the columns. ```js assert( code.match( /.container\s*?{[\s\S]*grid-gap\s*?:\s*?10px\s+?20px\s*?;[\s\S]*}/gi ) ); ``` # --seed-- ## --seed-contents-- ```html
1
2
3
4
5
``` # --solutions-- ```html ```