title: Apply the flex-direction Property to Create Rows in the Tweet Embed
challengeType: 0
videoUrl: ''
localeTitle: قم بتطبيق الخاصية ذات الاتجاه المرن لإنشاء صفوف في تطبيق Tweet Tweet
---
## Description
<sectionid="description"> يشتمل <code>header</code><code>footer</code> في مثال التضمين على عناصر فرعية يمكن ترتيبها كصفوف باستخدام خاصية <code>flex-direction</code> . هذا يخبر CSS لمحاذاة الأطفال أفقيًا. </section>
## Instructions
<sectionid="instructions"> أضف <code>flex-direction</code> CSS للمجموعة إلى كل من <code>header</code><code>footer</code> واضبط القيمة على الصف. </section>
## Tests
<sectionid='tests'>
```yml
tests:
- text: يجب أن يكون <code>header</code> عبارة <code>flex-direction</code> خاصية <code>flex-direction</code> مضبوط على الصف.
testString: 'assert(code.match(/header\s*?{[^}]*?flex-direction:\s*?row;/g), "The <code>header</code> should have a <code>flex-direction</code> property set to row.");'
- text: ''
testString: 'assert(code.match(/footer\s*?{[^}]*?flex-direction:\s*?row;/g), "The <code>footer</code> should have a <code>flex-direction</code> property set to row.");'