--- id: 587d78ad367417b2b2512afa title: Use the flex-wrap Property to Wrap a Row or Column challengeType: 0 videoUrl: 'https://scrimba.com/p/pVaDAv/cQv9ZtG' --- ## Description
CSS flexbox has a feature to split a flex item into multiple rows (or columns). By default, a flex container will fit all flex items together. For example, a row will all be on one line. However, using the flex-wrap property, it tells CSS to wrap items. This means extra items move into a new row or column. The break point of where the wrapping happens depends on the size of the items and the size of the container. CSS also has options for the direction of the wrap:
## Instructions
The current layout has too many boxes for one row. Add the CSS property flex-wrap to the #box-container element, and give it a value of wrap.
## Tests
```yml tests: - text: The #box-container element should have the flex-wrap property set to a value of wrap. testString: assert($('#box-container').css('flex-wrap') == 'wrap', 'The #box-container element should have the flex-wrap property set to a value of wrap.'); ```
## Challenge Seed
```html
```
## Solution
```js // solution required ```