Design comparison
SolutionDesign
Solution retrospective
I had problem displaying the two p tags opposite to each other
Community feedback
- @osaarohPosted over 2 years ago
Hello Emmanuel,
Good work so far on the challenge.
You can use CSS flexbox/grid to display the two paragraphs side by side. For example, If you put the two paragraphs in a flex container div with class="stats__container"
.stats__container { display: flex; flex-direction: row; justify-content: space-between; align-items: center; }
This will give better result than text align. Check out these resources to learn more on Flexbox and Grid:
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord