--- id: 587d78ab367417b2b2512af2 title: Use the flex-direction Property to Make a Row challengeType: 0 videoUrl: '' localeTitle: استخدم خاصية الاتجاه المرن لإجراء صف --- ## Description
إضافة display: flex لعنصر يحولها إلى حاوية مرنة. هذا يجعل من الممكن محاذاة أي أطفال من هذا العنصر إلى صفوف أو أعمدة. يمكنك القيام بذلك عن طريق إضافة الخاصية flex-direction إلى العنصر الأصل وتعيينه إلى الصف أو العمود. يؤدي إنشاء صف إلى محاذاة الأطفال أفقيًا ، وسيؤدي إنشاء عمود إلى محاذاة الأطفال رأسيًا. الخيارات الأخرى flex-direction هي عكس الصفوف وعكس الأعمدة. ملحوظة
القيمة الافتراضية لخاصية flex-direction هي صف.
## Instructions
أضف خاصية flex-direction لعنصر #box-container ، وأعطها قيمة عكس صف.
## Tests
```yml tests: - text: 'يجب أن #box-container عنصر #box-container خاصية flex-direction مضبوطة على عكس الصف.' testString: 'assert($("#box-container").css("flex-direction") == "row-reverse", "The #box-container element should have a flex-direction property set to row-reverse.");' ```
## Challenge Seed
```html
```
## Solution
```js // solution required ```