CSS Flexbox: Add Flex Superpowers to the Tweet Embed
The lesson tells you to add ‘‘display: flex;’’ to the header button, but even when you do it will not trigger it to continue to the next lesson. I copied the video code and pasted it inside the lesson to see if it would let me pass. But it didn’t work.
How can I continue my lessons?
Your code so far
body {
font-family: Arial, sans-serif;
}
header {
display: flex;
}
header .profile-thumbnail {
width: 50px;
height: 50px;
border-radius: 4px;
}
header .profile-name {
display: flex;
margin-left: 10px;
}
header .follow-btn {
display: flex;
margin: 0 0 0 auto;
display: flex;
}
header .follow-btn button {
border: 0;
border-radius: 3px;
padding: 5px;
display: flex;
}
header h3, header h4 {
display: flex;
margin: 0;
}
#inner p {
margin-bottom: 10px;
font-size: 20px;
}
#inner hr {
margin: 20px 0;
border-style: solid;
opacity: 0.1;
}
footer {
display: flex;
}
footer .stats {
display: flex;
font-size: 15px;
}
footer .stats strong {
font-size: 18px;
}
footer .stats .likes {
margin-left: 10px;
}
footer .cta {
margin-left: auto;
}
footer .cta button {
border: 0;
background: transparent;
}

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