--- id: 587d78ab367417b2b2512af3 title: Aplica la propiedad flex-direction para crear filas en el tweet Insertado 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-- El `header` y `footer` en el ejemplo de tweet insertado tienen elementos secundarios que podrían organizarse como filas usando la propiedad `flex-direction`. Esto le dice a CSS que alinee los hijos horizontalmente. # --instructions-- Agrega la propiedad CSS `flex-direction` tanto al `header` como al `footer` y establece el valor en `row`. # --hints-- Tu `.follow-btn` debe mostrarse en la página. Asegúrate de desactivar las extensiones, como los bloqueadores de anuncios. ```js assert($('.follow-btn').length > 0 && $('.follow-btn').css('display') !== 'none'); ``` El `header` debe tener una propiedad `flex-direction` establecida en `row`. ```js assert(code.match(/header\s*?{[^}]*?flex-direction:\s*?row;/g)); ``` El `footer` debe tener una propiedad `flex-direction` establecida en `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
```