--- id: 587d78ab367417b2b2512af3 title: Застосування властивості flex-direction для створення рядків у вбудованому твіті challengeType: 0 videoUrl: 'https://scrimba.com/p/pVaDAv/cJb8yuq' forumTopicId: 301104 dashedName: apply-the-flex-direction-property-to-create-rows-in-the-tweet-embed --- # --description-- У прикладі вбудованого твіту `header` та `footer` мають дочірні елементи, які можна впорядковувати у ряди за допомогою властивості `flex-direction`. Вона вказує CSS вирівнювати дочірні елементи горизонтально. # --instructions-- Додайте властивість CSS `flex-direction` до `header` і `footer` та налаштуйте значення на `row`. # --hints-- Ваш `.follow-btn` має відображатися на цій сторінці. Переконайтеся, що всі розширення вимкнено, наприклад блокувальники реклами. ```js assert($('.follow-btn').length > 0 && $('.follow-btn').css('display') !== 'none'); ``` `header` повинен мати встановлене налаштування властивості `flex-direction` на `row`. ```js assert(code.match(/header\s*?{[^}]*?flex-direction:\s*?row;/g)); ``` `footer` повинен мати встановлене налаштування властивості `flex-direction` на `row`. ```js assert(code.match(/footer\s*?{[^}]*?flex-direction:\s*?row;/g)); ``` # --seed-- ## --seed-contents-- ```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
``` # --solutions-- ```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
```