--- id: 587d78ab367417b2b2512af3 title: Apply the flex-direction Property to Create Rows in the Tweet Embed challengeType: 0 videoUrl: https://scrimba.com/p/pVaDAv/cJb8yuq forumTopicId: 301104 localeTitle: Примените свойство flex-direction для размещения составных частей компонента твит рядами --- ## Description
Элементы header и footer компонента твит имеют дочерние элементы, которые можно разместить в ряд используя свойство flex-direction. Это CSS свойство выровняет их по горизонтали.
## Instructions
Добавьте CSS свойство flex-direction к header и footer и задайте ему значение row.
## Tests
```yml tests: - text: The header should have a flex-direction property set to row. testString: assert(code.match(/header\s*?{[^}]*?flex-direction:\s*?row;/g)); - text: The footer should have a flex-direction property set to row. testString: assert(code.match(/footer\s*?{[^}]*?flex-direction:\s*?row;/g)); ```
## 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
```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
```