--- id: 587d78ab367417b2b2512af1 title: Add Flex Superpowers to the Tweet Embed challengeType: 0 videoUrl: '' localeTitle: أضف Flex Flexpowers إلى Tweet تضمين --- ## Description
إلى اليمين يتم تضمين التغريد الذي سيتم استخدامه كمثال عملي. بعض العناصر تبدو أفضل مع تخطيط مختلف. أظهر التحدي الأخير display: flex . هنا سوف تقوم بإضافته إلى العديد من المكونات في tweet embed لبدء ضبط موضعها.
## Instructions
إضافة display: flex خاصية CSS display: flex لكل العناصر التالية - لاحظ أن المحددات قد تم إعدادها بالفعل في CSS: header ، رأس الملف .profile-name ، رأس الصفحة. .follow-btn ، h3 و h4 في الرأس ، footer ، .stats .
## Tests
```yml tests: - text: لديك header ينبغي أن يكون display الممتلكات المحددة لثني. testString: 'assert($("header").css("display") == "flex", "Your header should have a display property set to flex.");' - text: '' testString: 'assert($("footer").css("display") == "flex", "Your footer should have a display property set to flex.");' - text: يجب أن يكون لديك h3 خاصية display مضبوطة. testString: 'assert($("h3").css("display") == "flex", "Your h3 should have a display property set to flex.");' - text: '' testString: 'assert($("h4").css("display") == "flex", "Your h4 should have a display property set to flex.");' - text: يجب أن يحتوي .profile-name ملفك الشخصي على خاصية display مضبوطة على flex. testString: 'assert($(".profile-name").css("display") == "flex", "Your .profile-name should have a display property set to flex.");' - text: '' testString: 'assert($(".follow-btn").css("display") == "flex", "Your .follow-btn should have a display property set to flex.");' - text: يجب أن يكون لدى .stats خاصية display مضبوطة على flex. testString: 'assert($(".stats").css("display") == "flex", "Your .stats should have a display property set to flex.");' ```
## Challenge Seed
```html
Quincy Larson's profile picture

Quincy Larson

@ossia

I meet so many people who are in search of that one trick that will help them work smart. Even if you work smart, you still have to work hard.

1:32 PM - 12 Jan 2018
```
## Solution
```js // solution required ```