--- id: 587d78ae367417b2b2512aff title: Use the order Property to Rearrange Items challengeType: 0 videoUrl: 'https://scrimba.com/p/pVaDAv/cMbvNAG' --- ## Description
The order property is used to tell CSS the order of how flex items appear in the flex container. By default, items will appear in the same order they come in the source HTML. The property takes numbers as values, and negative numbers can be used.
## Instructions
Add the CSS property order to both #box-1 and #box-2. Give #box-1 a value of 2 and give #box-2 a value of 1.
## Tests
```yml tests: - text: The #box-1 element should have the order property set to a value of 2. testString: assert($('#box-1').css('order') == '2', 'The #box-1 element should have the order property set to a value of 2.'); - text: The #box-2 element should have the order property set to a value of 1. testString: assert($('#box-2').css('order') == '1', 'The #box-2 element should have the order property set to a value of 1.'); ```
## Challenge Seed
```html
```
## Solution
```js // solution required ```