---
id: 587d78ac367417b2b2512af7
title: Usare la proprietà justify-content nel Tweet incorporato
challengeType: 0
videoUrl: 'https://scrimba.com/p/pVaDAv/c43GgTa'
forumTopicId: 301115
dashedName: use-the-justify-content-property-in-the-tweet-embed
---
# --description--
L'ultima sfida ha mostrato un esempio della proprietà `justify-content`. Per il tweet incorporato, questa proprietà può essere applicata per allineare gli elementi nell'elemento `.profile-name`.
# --instructions--
Aggiungi la proprietà CSS `justify-content` all'elemento di intestazione `.profile-name` e imposta il valore a una qualsiasi delle opzioni viste nell'ultima sfida.
# --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'elemento `.profile-name` dovrebbe avere la proprietà `justify-content` impostata a uno di questi valori: `center`, `flex-start`, `flex-end`, `space-between`, `space-around`o `space-evenly`.
```js
assert(
code.match(
/header\s.profile-name\s*{\s*?.*?\s*?.*?\s*?\s*?.*?\s*?justify-content\s*:\s*(center|flex-start|flex-end|space-between|space-around|space-evenly)\s*;/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