--- id: 587d78ac367417b2b2512af7 title: Use the justify-content Property in the Tweet Embed challengeType: 0 videoUrl: 'https://scrimba.com/p/pVaDAv/c43GgTa' forumTopicId: 301115 dashedName: use-the-justify-content-property-in-the-tweet-embed --- # --description-- The last challenge showed an example of the `justify-content` property. For the tweet embed, this property can be applied to align the items in the `.profile-name` element. # --instructions-- Add the CSS property `justify-content` to the header's `.profile-name` element and set the value to any of the options from the last challenge. # --hints-- Your `.follow-btn` should be rendered on the page. Be sure to turn off any extensions such as ad blockers. ```js assert($('.follow-btn').length > 0 && $('.follow-btn').css('display') !== 'none'); ``` The `.profile-name` element should have the `justify-content` property set to any of these values: `center`, `flex-start`, `flex-end`, `space-between`, `space-around`, or `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'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
```