---
id: 587d78ab367417b2b2512af3
title: Applicare la proprietà flex-direction per creare righe nel Tweet
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--
L'`header` e il `footer` dell'esempio del tweet incorportato hanno elementi figli che potrebbero essere organizzati come righe utilizzando la proprietà `flex-direction`. Questo dice al CSS di allineare orizzontalmente i figli.
# --instructions--
Aggiungi la proprietà CSS `flex-direction` sia all' `header` che al `footer` e imposta il valore su `row`.
# --hints--
Il tuo `.follow-btn` dovrebbe essere visualizzato sulla pagina. Assicurati di disattivare tutte le estensioni come ad esempio gli adblock.
```js
assert($('.follow-btn').length > 0 && $('.follow-btn').css('display') !== 'none');
```
L' `header` dovrebbe avere una proprietà `flex-direction` impostata su `row`.
```js
assert(code.match(/header\s*?{[^}]*?flex-direction:\s*?row;/g));
```
Il `footer` dovrebbe avere una proprietà `flex-direction` impostata su `row`.
```js
assert(code.match(/footer\s*?{[^}]*?flex-direction:\s*?row;/g));
```
# --seed--
## --seed-contents--
```html
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
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